I have the sources for images (the urls) stored in a jQuery array. I want to prepend each source from the array into it's own collection of tags. I have something like this:
var images = [link1,link2,link3,etc,etc];
$('.gallery').prepend();
but I don't know what to put in the .prepend().
I need each image individually inside something like this:
<label class="align"><img class="thumbnail" src=""+images+""/></label>
How do I go about this?