Closed jerturowetz closed 5 years ago
Hmm, this might be a tricky one. I don't have time to look into a proper fix right now, but I think you should be able to get around it by doing something like this instead:
{% assign url = path | absolute_url %}
<img src="{{ url }}">
I did not yet try that one, lemme give it a go and advise.
The suggested workaround did not work for me, but I was able to get a (fragile) solution with:
<img src="{{ site.url }}/{{ path }}" />
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Would still love to see this fixed.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If I try to use liquid filters in the responsive image template file I get the following error:
Liquid Exception: undefined method `config' for nil:NilClass in /_layouts/default.html
Example template file
The following are the contents of my template file. When I remove the
| absolute_url
filter everything works fine.System information
Expectations
Expected behaviour: Liquid filters accessible Actual behaviour: No worky