summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
Diffstat (limited to 'themes')
-rw-r--r--themes/default/views/album.html.php6
-rw-r--r--themes/default/views/photo.html.php6
2 files changed, 2 insertions, 10 deletions
diff --git a/themes/default/views/album.html.php b/themes/default/views/album.html.php
index c5415a39..cb3bd430 100644
--- a/themes/default/views/album.html.php
+++ b/themes/default/views/album.html.php
@@ -14,11 +14,7 @@
<li id="gItemId-<?= $child->id ?>" class="gItem <?= $item_class ?>">
<?= $theme->thumb_top($child) ?>
<a href="<?= $child->url() ?>">
- <img class="gThumbnail"
- src="<?= $child->thumb_url() ?>"
- alt="<?= $child->title ?>"
- width="<?= $child->thumb_width ?>"
- height="<?= $child->thumb_height ?>" />
+ <?= $child->thumb_tag(array("class" => "gThumbnail")) ?>
</a>
<?= $theme->thumb_bottom($child) ?>
<h2><a href="<?= $child->url() ?>"><?= $child->title ?></a></h2>
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>