Hi,
in der Variable $type steht "2" und von image_type_to_mime_type($type)) bekomme ich "image/jpeg"
Das dürfte ja passen.
Kommt der Content-Type-Header denn korrekt beim Client an?
Kann er von PHP auch ausgegeben werden - keine Ausgaben davor? error_reporting auf E_ALL und display_errors auf on?
MfG ChrisB
--
Light travels faster than sound - that's why most people appear bright until you hear them speak.
Light travels faster than sound - that's why most people appear bright until you hear them speak.