I've used some pretty standard scripting for resizing and croping images in PHP.
Then I output it as a header in a separate file and destroy the image.
(The thing is I don't wanna resize the images at upload because the client has specific needs to change the image size from time to time.)
Everything works just fine in every browser exept for IE on Mac OSX (might be other versions of Mac OS as well).
What happens is that it just keeps reloading the image-page (img.php) over and over again.
Are there any Mac-gurus out there that could lend a helping hand?
The code for the image-page (img.php):
$size = getimagesize($path);
$content_type=image_type_to_mime_type($size[2]);
header("Content-type: $content-type");
//The function tah does the resizing
createSmall($path,$qual);
The img link on the page that displays the image:
<img src='img.php?path=$picpath' alt='$alttext' border='0' hspace='0' vspace='5'>
Any ideas?