Hi, friends.
I’m trying to use an on-the-fly thumbnail generator. The call to the php file is like this:
The thumbs.php files takes a filename, maxw and maxh and is supposed to return the image. Here are the last two lines of the thumbs.php file after it does its magic:
header("Content-type: image/jpeg");
imagejpeg($img);
The problem is that the <img src= call just seems to put the text in the source rather than run the .php file. I’ve tried everything and can’t seem to get it to run the file. In the source, here is an example output:
It’s driving me nuts and I can’t seem to find an answer to this anywhere else on the internet. HELP!!