rejetto forum
May 25, 2012, 10:44:16 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Adding preview to folder jpeg  (Read 1002 times)
0 Members and 1 Guest are viewing this topic.
DNA1010
Occasional poster
*
Offline Offline

United States United States

Posts: 10


View Profile Email
« on: March 01, 2011, 10:54:08 PM »

I'm using the below in Live 3.0.1

Code:
<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, 06:56:03 AM by DNA1010 » Logged
TSG
Moderator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1919



View Profile WWW
« Reply #1 on: April 03, 2011, 05:38:57 AM »

It would be very complicated to explain how to do that... take a look at how image files work.
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 13, 2012, 02:42:03 AM