You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be amazing if there were some built in functionality to ask for the path to a specific size of a generated image. There are various place where a <picture> tag doesn’t make sense (e.g. feeds, meta tags), but it seems a shame not to re-use already generated content. That’s not currently possible because the filename suffixes (WIDTHbyHEIGHT-etc) are unpredictable from outside of {% picture %}.
Could some kind of syntax along the lines of {% picture [preset] [source] path/to/img.jpg %} returning the path to the given source copy of the image work?
In any case, thanks for an already great plugin. ✋
The text was updated successfully, but these errors were encountered:
It would be amazing if there were some built in functionality to ask for the path to a specific size of a generated image. There are various place where a
<picture>
tag doesn’t make sense (e.g. feeds, meta tags), but it seems a shame not to re-use already generated content. That’s not currently possible because the filename suffixes (WIDTHbyHEIGHT-etc) are unpredictable from outside of{% picture %}
.Could some kind of syntax along the lines of
{% picture [preset] [source] path/to/img.jpg %}
returning the path to the given source copy of the image work?In any case, thanks for an already great plugin. ✋
The text was updated successfully, but these errors were encountered: