-
Hi, is it possible to manually override image width and height in template? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi @frobert, As mentioned in my previous comment, it takes a little getting used to. Before hard-coding sizes, I recommend reading a little into HTMLs picture tag: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture However, there are some legacy use cases and we have a solution for those. You can read up more on this here: https://github.com/codingjoe/django-pictures?tab=readme-ov-file#legacy-use-cases-email Cheers! |
Beta Was this translation helpful? Give feedback.
-
Hi @codingjoe, The library offers extensive functionality and simplifies the transition from legacy Currently, the What do you think about adding an ability to set explicit image size from template tag? |
Beta Was this translation helpful? Give feedback.
Sure, I created a ticket #176