melinath / django-daguerre

On-the-fly image manipulation for Django.
http://django-daguerre.readthedocs.org/
BSD 3-Clause "New" or "Revised" License
85 stars 15 forks source link

Support multiple adjustments on the same model instance with {% adjust_bulk %} #62

Open melinath opened 10 years ago

melinath commented 10 years ago

Right now, {% adjust_bulk %} lets you do an optimized adjustment of a bunch of (say) image fields for a queryset. But you can only do one adjustment per item in the iterable. That's a problem; often you'll have two fields that need to be adjusted, or one field that needs to be adjusted in two different ways. We should support that.

melinath commented 4 years ago

Specifically the issue here is that you might be looping over one iterable but want to have multiple images rendered for each item in the iterable - say, different sizes depending on window size or device resolution.