Thanks a lot for the response.
But it didn't work as a string.
I thought on replacing for 'jpg' instead of 'jpg".
Though it worked as a string but still got the error below:
"Fatal error: Call to undefined function getISuffix() in .../image.php on line 44"
Just in case is it easy to resolve?
Otherwise I can live with it for now.
Cheers
I just had a typo in the function name as it is called getSuffix. On such answer always remember that we sometimes answer inbetween quickly. There is a functions documentation on our user guide you can also refer to. Or you use a IDE like Eclipse, Netbeans or the like that provides access to functions.