Added getImageType that by accident was deleted