craftsmancoding / assetmanager

Asset Manager for MODX Revolution
36 stars 15 forks source link

Big picture with data-src - not working!!! #71

Closed ufabooks closed 6 years ago

ufabooks commented 8 years ago

< figure class="one-fourth" data-src="[[+Asset.url]]" > < img src="[[+asset_id:resize=800x600]]" width="[[+asset_id.width]]" height="600">
< /figure>

data-src="[[+Asset.url]]" - does not display a picture

fireproofsocks commented 8 years ago

This isn't enough info to reproduce the issue. Is the code same in a Template or a Chunk? Is a Snippet called and how?

ufabooks commented 8 years ago

Snippet [[ getPageAssets? &innerTpl=innerass &is_image=1]] chank innerTpl

< figure class="one-fourth" data-src="[[+Asset.url]]" > < img src="[[+asset_id:resize=800x600]]" width="[[+asset_id.width]]" height="600"> < /figure>

fireproofsocks commented 6 years ago

If I'm understanding this correctly, returning base64 encoded image data was never built as part of the functionality.