Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get path for a particular size #63

Closed
delucis opened this issue Jul 4, 2015 · 1 comment · Fixed by #88
Closed

Get path for a particular size #63

delucis opened this issue Jul 4, 2015 · 1 comment · Fixed by #88

Comments

@delucis
Copy link

delucis commented Jul 4, 2015

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. ✋

@stuntbox
Copy link

stuntbox commented Jul 4, 2015

+1 RE some way to handle images in feeds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants