When you say that the images don't display, does the rest of the page or do you get no output at all? IE, when the PHP script finishes, do you get a web page with an almost-blank space (just an X) where the picture should be? If so, it's worth doing a show source on the results and looking at what a...