summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-06-02 12:08:47 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-06-02 12:08:47 -0700
commit0f987880e67c667dc1e2c47455fc9ee0859fcba7 (patch)
treedb1f4ae2c3e8d65ddb20426b0bf28e9fa5026302 /themes
parent1cfed1fac1f2aa109e96c2aa5c9f66002610b0f8 (diff)
Fix for ticket #320
Diffstat (limited to 'themes')
-rw-r--r--themes/default/views/album.html.php2
-rw-r--r--themes/default/views/photo.html.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/views/album.html.php b/themes/default/views/album.html.php
index 6e17696d..7d4a6f54 100644
--- a/themes/default/views/album.html.php
+++ b/themes/default/views/album.html.php
@@ -15,7 +15,7 @@
<li id="gItemId-<?= $child->id ?>" class="gItem <?= $item_class ?>">
<?= $theme->thumb_top($child) ?>
<a href="<?= $child->url() ?>">
- <?= $child->thumb_tag(array("class" => "gThumbnail")) ?>
+ <?= $child->thumb_img(array("class" => "gThumbnail")) ?>
</a>
<?= $theme->thumb_bottom($child) ?>
<h2><span></span><a href="<?= $child->url() ?>"><?= p::clean($child->title) ?></a></h2>
diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php
index cc069158..85143da8 100644
--- a/themes/default/views/photo.html.php
+++ b/themes/default/views/photo.html.php
@@ -29,7 +29,7 @@
<? if (access::can("view_full", $item)): ?>
<a href="#" class="gFullSizeLink" title="<?= t("View full size") ?>">
<? endif ?>
- <?= $item->resize_tag(array("id" => "gPhotoId-{$item->id}", "class" => "gResize")) ?>
+ <?= $item->resize_img(array("id" => "gPhotoId-{$item->id}", "class" => "gResize")) ?>
<? if (access::can("view_full", $item)): ?>
</a>
<? endif ?>