PDA

View Full Version : Agent Thumbnail



Ernst Van amersforrt
March 2, 2019, 12:50 PM
Hello Guys,

Well im trying to add the agent thumbnail from listing details to to listing block.

I tried a few ways but i still need more time to analize all the files.

But if someone already did it or has a better knowledge from the script structure that might be able to help me i appreciate.


code ref:


{if $seller_info.Photo}
<div class="picture{if $seller_info.Thumb_width > 120} landscape{/if}">
{if $seller_info.Own_page && !$owner_page}<a target="_blank" title="{$lang.visit_owner_page}" href="{$seller_info.Personal_address}">{/if}
<img alt="{$lang.seller_thumbnail}"
src="{$smarty.const.RL_FILES_URL}{$seller_info.Photo}"
{if $seller_info.Photo_x2}srcset="{$smarty.const.RL_FILES_URL}{$seller_info.Photo_x2 } 2x"{/if} />
{if $seller_info.Own_page && !$owner_page}</a>{/if}
</div>
{/if}