Fixes image retrieval by content type.