when trying to generate a thumbnail for the image with strange dimensions (e.g. 600x1) existing calculation can calculate 0 (zero) as one of the dimensions - thus generating exception while creating thumbnail (width and height must be > 0)
imho best option will be to set a 1px as a minimum thumbnail size (processors.py: 189-192 and 204-206):
when trying to generate a thumbnail for the image with strange dimensions (e.g. 600x1) existing calculation can calculate 0 (zero) as one of the dimensions - thus generating exception while creating thumbnail (width and height must be > 0)
imho best option will be to set a 1px as a minimum thumbnail size (processors.py: 189-192 and 204-206):