Skip to content

Commit

Permalink
fix thumbnail not shown for pdf item
Browse files Browse the repository at this point in the history
  • Loading branch information
amtuannguyen committed Nov 26, 2014
1 parent 1eca90c commit f6e4f21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/helpers/ExhibitAttachment.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function exhibitAttachment($attachment, $fileOptions = array(), $linkProp
$imageSize = isset($fileOptions['imageSize'])
? $fileOptions['imageSize']
: 'square_thumbnail';
$image = file_image($imageSize, $fileOptions['imgAttributes'], $file);
$image = file_image($imageSize, $fileOptions['imgAttributes'], $item);
$html = exhibit_builder_link_to_exhibit_item($image, $linkProps, $item);
} else {
if (!isset($fileOptions['linkAttributes']['href'])) {
Expand Down

0 comments on commit f6e4f21

Please sign in to comment.