summaryrefslogtreecommitdiff
path: root/themes/default/views/photo.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/views/photo.html.php')
-rw-r--r--themes/default/views/photo.html.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php
index a2ae5a8b..aa7053dc 100644
--- a/themes/default/views/photo.html.php
+++ b/themes/default/views/photo.html.php
@@ -12,11 +12,7 @@
<? endif ?>
</ul>
- <img id="gPhotoId-<?= $item->id ?>"
- src="<?= $item->resize_url() ?>"
- alt="<?= $item->title ?>"
- width="<?= $item->resize_width ?>"
- height="<?= $item->resize_height ?>" />
+ <?= $item->resize_tag(array("id" => "gPhotoId-{$item->id}")) ?>
<div id="gInfo">
<h1><?= $item->title ?></h1>