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().
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
Comment #1
matt westgate commentedUpgrading to 4.6 will resolve these issues since this mechanism is no longer used.