Search code examples
pythondjangodjango-class-based-viewsdjango-imagekit

django imagekit - list view and details view image


I have just started using django imagekit. I have a list view page where the images are of dimensions 270 x 203 (30 KB approx.) and same images have a size of 570 x 427 (90 KB approx.) in the details view page.

I wanted to know;

  1. Should have create 2 different images for each image with different size and dimensions.
  2. if the answer to the 1st query is yes. How to do it on Django Imagekit.

PS: I am planning to use django Imagekit on the form level.


Solution

  • Based on the answer provided by kicker86. I plan to retain single image.