Modify image contentType.