]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
We don't have the thumbnail title in attachment list
authorMikael Nordfeldth <mmn@hethane.se>
Sun, 22 Jun 2014 17:17:49 +0000 (19:17 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Sun, 22 Jun 2014 17:17:49 +0000 (19:17 +0200)
lib/attachmentlistitem.php

index f5cc30e5254e7a2592796a6736713c827633229b..025ffa9fd6a7cefb019ad178d7bfac476308a69b 100644 (file)
@@ -114,7 +114,7 @@ class AttachmentListItem extends Widget
                 case 'image/jpeg':
                     try {
                         $thumb = $this->attachment->getThumbnail();
-                        $this->out->element('img', array('class'=>'u-photo', 'src' => $thumb->getUrl(), 'alt' => $e->file->title));
+                        $this->out->element('img', array('class'=>'u-photo', 'src' => $thumb->getUrl(), 'alt' => ''));
                     } catch (UseFileAsThumbnailException $e) {
                         $this->out->element('img', array('class'=>'u-photo', 'src' => $e->file->getUrl(), 'alt' => $e->file->title));
                     } catch (UnsupportedMediaException $e) {