tessl install tessl/pypi-cloudinary@1.44.0Python and Django SDK for Cloudinary, a cloud-based image and video management service with comprehensive transformation, optimization, and delivery capabilities
Agent Success
Agent success rate when using this tile
94%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.08x
Baseline
Agent success rate without this tile
87%
Build a Django template that displays product images with various transformations using Cloudinary's template tags.
@generates
Create a Django template file templates/product_gallery.html that displays a gallery of products with transformed images. The template should:
The template should receive a context variable products which is a list of product objects. Each product object has:
name: Product name (string)image: CloudinaryField instance with an image resourceThe template should generate HTML that includes:
Provides Django template tags for generating Cloudinary URLs and image tags with transformation support.
Your template should use Django's template syntax and Cloudinary template tags. Focus on using the appropriate template tags for generating image tags versus URLs.