Hello,

I've notices that when I try to external imagecache a file with mime type "image/jpg", I cannot get its imagecache.

After a little digging, I realized that within "imagecache_external.module" function "imagecache_external_allowed_mimetypes" doesn't have this mime type listed. ("image/jpg" != existing mime type "image/jpeg").

Adding "image/jpeg" to "imagecache_external_allowed_mimetypes" function array, solve this issue.

Comments

BarisW’s picture

Title: Missing mimetypes - (e.g: "image/jpg" != "image/jpeg") » Missing mimetype for jpg
Status: Active » Fixed

Good catch. Committed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.