Author Topic: Adding preview to folder jpeg  (Read 1901 times)

0 Members and 1 Guest are viewing this topic.

Offline DNA1010

  • Occasional poster
  • *
  • Posts: 10
    • View Profile
Adding preview to folder jpeg
« on: March 02, 2011, 04:54:08 AM »
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: 1934
    • View Profile
    • RAWR-Designs
Re: Adding preview to folder jpeg
« Reply #1 on: April 03, 2011, 10:38:57 AM »
It would be very complicated to explain how to do that... take a look at how image files work.