1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-26 11:40:48 +03:00

fix отображения оригинала в фотосете

This commit is contained in:
Mzhelskiy Maxim 2011-08-14 14:13:25 +00:00
parent 43db33a2cf
commit 93bf4c2eaf
2 changed files with 2 additions and 2 deletions

View file

@ -75,7 +75,7 @@
{assign var=aPhotos value=$oTopic->getPhotosetPhotos(0, $oConfig->get('module.topic.photoset.per_page'))}
{if count($aPhotos)}
{foreach from=$aPhotos item=oPhoto}
<li><a class="photoset-image" href="{$oPhoto->getWebPath()}" rel="[photoset]" title="{$oPhoto->getDescription()}"><img src="{$oPhoto->getWebPath('50crop')}" alt="{$oPhoto->getDescription()}" /></a></li>
<li><a class="photoset-image" href="{$oPhoto->getWebPath(1000)}" rel="[photoset]" title="{$oPhoto->getDescription()}"><img src="{$oPhoto->getWebPath('50crop')}" alt="{$oPhoto->getDescription()}" /></a></li>
{assign var=iLastPhotoId value=$oPhoto->getId()}
{/foreach}
{/if}

View file

@ -78,7 +78,7 @@
{assign var=aPhotos value=$oTopic->getPhotosetPhotos(0, $oConfig->get('module.topic.photoset.per_page'))}
{if count($aPhotos)}
{foreach from=$aPhotos item=oPhoto}
<li><a class="photoset-image" href="{$oPhoto->getWebPath()}" rel="[photoset]" title="{$oPhoto->getDescription()}"><img src="{$oPhoto->getWebPath('50crop')}" alt="{$oPhoto->getDescription()}" /></a></li>
<li><a class="photoset-image" href="{$oPhoto->getWebPath(1000)}" rel="[photoset]" title="{$oPhoto->getDescription()}"><img src="{$oPhoto->getWebPath('50crop')}" alt="{$oPhoto->getDescription()}" /></a></li>
{assign var=iLastPhotoId value=$oPhoto->getId()}
{/foreach}
{/if}