I'm using a Flash loader component to display images in a mysql BLOB field. I
store the images and use php for the contentpath to echo the header type and
the BLOB field and the image comes through fine. The problem is when I resize
the image using PHP and GDlib with commands such as createimagefromstring,
imagecreatetruecolor, imagecopyresampled, imagejpeg and store those resized
images. For some reason they do not want to show up through the Flash Loader
component while an image that is NOT resized shows up fine. The resized image
is being stored and can be displayed in a browser using html img src tag and
calling the same php script that is used for the contentpath. A couple of other
notes is the resized image in IE downloads as a bitmap unless given a .jpg
extension during 'Save as' and Mozilla downloads the image as a jpeg with no
problems. Does anyone have any ideas? I am using PHP v. 4.3.11, GD 2.0.28 , and
mysql 4.1. Many thanks in advance for any help.
rezzkilla - 24 Nov 2007 20:58 GMT
I think I got it. The PHP/GD commands were creating a progressive jpeg and so i used imageinterlace() and it seems to have fixed my resized images to be displayed in flash.