• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XenPorta RecentNews - Thumbnail

#1
I have this line in my RecentNews template:
Code:
<a href="{xen:link threads, $news}"><img src="{$news.attach.thumbnailUrl}" alt="{$news.attach.filename}" /></a>
Could somebody assist me in getting this to be the full attached image? Instead of a resized (tiny) version? I have no idea what to put instead...
 

shawn

Well-known member
#4
I have this line in my RecentNews template:
Code:
<a href="{xen:link threads, $news}"><img src="{$news.attach.thumbnailUrl}" alt="{$news.attach.filename}" /></a>
Could somebody assist me in getting this to be the full attached image? Instead of a resized (tiny) version? I have no idea what to put instead...
Code:
<a href="{xen:link threads, $news}"><img src="{xen:link attachments, $news.attach}" alt="{$news.attach.filename}" style="max-height: 300px; max-width: 300px;" />