[Answered ]-Render image in django view with correct aspect ratios

2๐Ÿ‘

โœ…

I think there are 2 option. Either resize image and save to directory and request specific size from view or resize image at rendering time. There is a app for resize image at render time called imagefit. This allows you to render an image in a template and specify its dimensions. It preserves the original image file.

๐Ÿ‘คnKandel

Leave a comment