I have jpegs of paintings. The paintings have certain dimensions.
Painting 1: 52cm x 40cm
Painting 2: 30cm x 50cm
The jpeg of these images may with various widths in pixels in similar dimensions and I have uploaded them into Cloudinary using CloudinaryField in Django.
Now I want to show the thumbnails of these images by translating cm -> px. Meaning I was to show the thumbnail in 52px x 40px. How can I use template tag to display them in the new sizes?
Please sign in to leave a comment.