support mixed image content types (not just gif)