View Single Post
Old 10-09-2011, 02:54 AM  
georgeyw
58008 53773
 
georgeyw's Avatar
 
Industry Role:
Join Date: Jul 2005
Location: Australia
Posts: 9,864
Quote:
Originally Posted by DarkJedi View Post
run a script to convert your .JPG to .jpg
Definitely the best solution.

Smarty is a gigantic POS!

You could run some php to check if the file exists in an if else statement - however probably not going to do to well with big traffic numbers.

EDIT :
ie
Code:
{

$file = "{$name_name2}/path/{$xxx1.xxx2}/to/01.jpg";

if(!$file_exists($file)) { $file = '{$name_name2}/path/{$xxx1.xxx2}/to/01.JPG'; }

}

Last edited by georgeyw; 10-09-2011 at 03:06 AM..
georgeyw is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote