add support for gif images
test content type for images