From 783cc20586410433476e41f9056e14748a4e3279 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Sun, 22 Jun 2014 19:17:49 +0200 Subject: [PATCH] We don't have the thumbnail title in attachment list --- lib/attachmentlistitem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/attachmentlistitem.php b/lib/attachmentlistitem.php index f5cc30e525..025ffa9fd6 100644 --- a/lib/attachmentlistitem.php +++ b/lib/attachmentlistitem.php @@ -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) {