
Originally Posted by
nigelt74
You know I had been looking at that problem after the discussion the other day, I was going to do the same thing via filetype but the way in that link is a much quicker less server intensive way.
However the one advantage filetypes had is they deal with jpeg & jpg, so what about adding the option to deal with the jpeg vs jpg issue, below that code
$data['imgExtension'] = strtolower($data['imgExtension']);
if ($data['imgExtension'] == "jpeg") {$data['imgExtension'] = "jpg"; }
Bookmarks