- 
                Notifications
    
You must be signed in to change notification settings  - Fork 7
 
Open
Description
I've been trying to dynamically inline images. My use case is a gallery and I have pre-generated 32x32 thumbs of images. I know the location of these thumbnails within my codebase and my idea was to use capture:
{% capture imgsrc %}/img/path/to/thumb.jpg{% endcapture %}
Then I could loop through my gallery and inline the thumbs.  But no matter what format I try to pass to the {% base64 imgsrc %} tag via this variable (full URL, absolute path, system path), it always reports the following:
Liquid Exception: No such file or directory - imgsrc in _includes/gallery.html, included in _posts/my-gallery-file.md
When I hardcode the URL I was trying to capture in a variable, the data URI outputs just fine.
Metadata
Metadata
Assignees
Labels
No labels