You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class ThumbnailImage(EmbeddedDocument):
element = ImageField(size=(200, 250, True), thumbnail_size=(50, 60, True))
What I would like is the ability to re-size the image to a maximum of 250px high and set the thumbnail size to maximum 60pixels high but for the re-sizing that occurs to maintain the aspect ratio.