Currently all the images are downloaded as text/html because the cache module doesn't know how to preserve mime types set in img_assist_generate_image().

This can be fixed by replacing header() calls with drupal_set_header().

Comments

matt westgate’s picture

Upgrading to 4.6 will resolve these issues since this mechanism is no longer used.