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

XenPorta RecentNews - Thumbnail

Discussion in 'Styling and Customization Questions' started by Zovator, Feb 23, 2013.

  1. Zovator

    Zovator Member

    I have this line in my RecentNews template:
    <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...
  2. Arty

    Arty Well-Known Member

    Try replacing {$news.attach.thumbnailUrl} with {$news.attach.content_link}

    I'm not sure if it would work
  3. Zovator

    Zovator Member

    No cigar. But it changed the image source to "image.png", which is what the images used in the recentslider are named.
  4. shawn

    shawn Well-Known Member

    <a href="{xen:link threads, $news}"><img src="{xen:link attachments, $news.attach}" alt="{$news.attach.filename}" style="max-height: 300px; max-width: 300px;" />
    otto and bluehuge like this.

Share This Page