Image resize problem

I have a script for my band’s website that automattically generates an xml file, resized images and thumbnail images from a folder of original photos. Recently it has been giving me some trouble by just cutting out.

This is the culprit…
@imagecreatefromjpeg($origDir.”/”.$file);

Turns out that some embedded meta data from cameras stuffs up the function. I hadn’t encountered it till recently, when I was uploading other people’s photos. The fix for me now is just to run all functions through a fireworks batch process to save off new jpgs, which seems to strip the info out. Will have to find a better solution later.

About Carly (Admin)

I'm a multimedia developer based in Brisbane. I work for an elearning firm and code my own projects in the wee small hours between eating, sleeping and working.
This entry was posted in php. Bookmark the permalink.

Leave a Reply