Image_Transform 0.9.0: IM's display() does not work any more?!
| From: | Christian Luszick | Date: | Thu, 08 Dec 2005 13:07:12 +0000 |
| Subject: | Image_Transform 0.9.0: IM's display() does not work any more?! | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-22180@lists.php.net to get a copy of this message | ||
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Posted-By: 85.73.117.245
Hello,
I integrated image_transform 0.8 into one of my software. Using the IM
driver all went good :) Lately I've updated to 0.9.0. Expecting nothing
bad, I have now the problem that my script does not work any more.
1) I recognize the define for IM path had changed
from IMAGE_TRANSFORM_LIB_PATH to IMAGE_TRANSFORM_IM_PATH
2) But additionally '$im->display()' does not output the image any more.
Instead of raw image data it shows in my Firefox (this is more or less
the path of my script I call to display an image)
'http://path/to/image.php?file=image.jpg'
Remark: doing the following let all work fine!
> pear uninstall image_transform
> pear install image_transform-0.8
So, what is the difference in 0.9.0? What shall I do to get it working?
Any help would be wonderful!
--
Christian Luszick