
Originally Posted by
djr33
Interesting.
createimagefromJPEG('myimg.php') should get you the image, then you could store that as an image variable and go from there.
image_x() and image_y() I believe hold width/height values after that.
If you must change the extension, search the forum for a method to allow .htm files to be parsed as php with the php setup on the server. It uses a line in the .htaccess file.
This could easily be used to include .jpg as well, so you could create a jpg file that is from php.
HOWEVER,
1. this would require that ALL jpgs run through the php engine, which might give a bunch of errors; careful on this
2. this might not change how it works with the getimagesize function anyway... no clue, since it would still be output with php
Bookmarks