diff options
| author | Christian Fowler <spider@viovio.com> | 2007-09-22 20:48:40 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2007-09-22 20:48:40 +0000 |
| commit | de5e89e7d86e8c8138ded86ce8559004d42350cc (patch) | |
| tree | 6cea2f676f62d7946cfc6e432f69ddfe8a0c8a92 /templates | |
| parent | 88c3904f9c1fe18b87066b2625f1b4d06166c0a5 (diff) | |
| download | fisheye-de5e89e7d86e8c8138ded86ce8559004d42350cc.tar.gz fisheye-de5e89e7d86e8c8138ded86ce8559004d42350cc.tar.bz2 fisheye-de5e89e7d86e8c8138ded86ce8559004d42350cc.zip | |
add getThumbnailUri method support
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/image_order.tpl | 2 | ||||
| -rw-r--r-- | templates/view_image.tpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/image_order.tpl b/templates/image_order.tpl index ca2524a..78cf541 100644 --- a/templates/image_order.tpl +++ b/templates/image_order.tpl @@ -36,7 +36,7 @@ <tr class="{$pageClass}"> {counter name=imageCount print=false} <td class="{$galItem->mType.content_type_guid}"> - <a href="{$galItem->getDisplayUrl()|escape}"><img class="thumb" src="{$gContent->mItems.$itemContentId->getThumbnailUrl()|replace:"&":"&"}{if $batchEdit.$itemContentId ne ''}?{math equation="1 + rand(1,9999)"}{/if}" alt="{$galItem->mInfo.title|escape}" /></a> + <a href="{$galItem->getDisplayUrl()|escape}"><img class="thumb" src="{$gContent->mItems.$itemContentId->getThumbnailUri()|replace:"&":"&"}{if $batchEdit.$itemContentId ne ''}?{math equation="1 + rand(1,9999)"}{/if}" alt="{$galItem->mInfo.title|escape}" /></a> </td> <td> diff --git a/templates/view_image.tpl b/templates/view_image.tpl index c616b94..b22fae2 100644 --- a/templates/view_image.tpl +++ b/templates/view_image.tpl @@ -22,7 +22,7 @@ <div class="body"> {include file="bitpackage:liberty/services_inc.tpl" serviceLocation='body' serviceHash=$gContent->mInfo} {box class="box image"} - <img src="{$gContent->mInfo.display_url}{$refresh}" alt="{$gContent->getTitle()|default:$gContent->mInfo.image_file.filename|escape}" title="{$gContent->mInfo.data|default:$gContent->mInfo.filename|escape}" /> + <img src="{$gContent->getThumbnailUri()}{$refresh}" alt="{$gContent->getTitle()|default:$gContent->mInfo.image_file.filename|escape}" title="{$gContent->mInfo.data|default:$gContent->mInfo.filename|escape}" /> {if $gBitSystem->isFeatureActive('fisheye_image_list_description') and $gContent->mInfo.data ne ''} <p class="description">{$gContent->mInfo.data|escape}</p> |
