summaryrefslogtreecommitdiff
path: root/themes/default/views/album.html.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-14 07:21:35 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-14 07:21:35 +0000
commit2d7ab6f4dac14a3bbf6718edfaf999e6ad58cf98 (patch)
tree29a1bedf16ecc250b1374e7847acd16bf2f5c729 /themes/default/views/album.html.php
parentc383b2fc35bbe1864acb79b784b4cd3a2f82a95e (diff)
Create Item_Model::thumb_tag() and Item_Model::resize_tag() to provide
an abstraction for when we add movie support.
Diffstat (limited to 'themes/default/views/album.html.php')
-rw-r--r--themes/default/views/album.html.php6
1 files changed, 1 insertions, 5 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>