rejetto forum

Adding preview to folder jpeg

0 Members and 1 Guest are viewing this topic.

Offline DNA1010

  • Occasional poster
  • *
    • Posts: 10
    • View Profile
I'm using the below in Live 3.0.1

Code: [Select]
<img width=40px src="{.if|{.filesize|%item-resource%\folder.png.}|%item-url%folder.png
|{.if|{.filesize|%item-resource%\folder.jpg.}|%item-url%folder.jpg
|{.if|{.filesize|/template/{.!theme.}/images/icons/%item-name%.gif.}|/template/{.!theme.}/images/icons/%item-name%.gif
|/template/{.!theme.}/images/icons/folder.gif.}.}.}"/>

How to apply the pop up preview to both jpg and png like them are in the folder and not affecting the gif?

Thanks
« Last Edit: March 02, 2011, 12:56:03 PM by DNA1010 »


Offline TSG

  • Moderator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
It would be very complicated to explain how to do that... take a look at how image files work.