Add double-density thumbnails to albums and photo pages
This commit is contained in:
@@ -65,11 +65,9 @@ class PhotoPage extends SubTemplate
|
||||
<a href="', $this->photo->getUrl(), '">';
|
||||
|
||||
if ($this->photo->isPortrait())
|
||||
echo '
|
||||
<img src="', $this->photo->getThumbnailUrl(null, 960), '" alt="">';
|
||||
echo $this->photo->getInlineImage(null, 960);
|
||||
else
|
||||
echo '
|
||||
<img src="', $this->photo->getThumbnailUrl(1280, null), '" alt="">';
|
||||
echo $this->photo->getInlineImage(1280, null);
|
||||
|
||||
echo '
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user