We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 153a4ed commit 55b7d50Copy full SHA for 55b7d50
1 file changed
views/helpers/ExhibitAttachment.php
@@ -23,10 +23,6 @@ public function exhibitAttachment($attachment, $fileOptions = array(), $linkProp
23
$file = $attachment->getFile();
24
25
if ($file) {
26
- if (!isset($fileOptions['imgAttributes']['alt'])) {
27
- $fileOptions['imgAttributes']['alt'] = metadata($item, array('Dublin Core', 'Title'), array('no_escape' => true));
28
- }
29
-
30
if ($forceImage) {
31
$imageSize = isset($fileOptions['imageSize'])
32
? $fileOptions['imageSize']
0 commit comments