rejetto forum

Software => HTML & templates => HFS ~ HTTP File Server => RAWR-Designs => Topic started by: DNA1010 on March 02, 2011, 04:54:08 AM

Title: Adding preview to folder jpeg
Post by: DNA1010 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
Title: Re: Adding preview to folder jpeg
Post by: TSG 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.