Quantcast
Channel: Squarespace Answers - latest questions
Viewing all articles
Browse latest Browse all 21023

How can I use the Squarespace ImageLoader via jQuery?

$
0
0

Currently playing around with making an index collection, which I've been able to create using the getJSON method. However, I'm not sure how I can include the Squarespace ImageLoader:

<img {@|image-meta} />

For now I'm calling out the assetUrl for the image src.

Here's a little bit of the code I'm using:

$.each(obj.items, function(){
     $('.image-list .image').append("<img src='"+this['assetUrl']+"' />");
});

Viewing all articles
Browse latest Browse all 21023

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>