mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-26 11:40:48 +03:00
fix отображения оригинала в фотосете
This commit is contained in:
parent
43db33a2cf
commit
93bf4c2eaf
|
@ -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}
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue