Page 1 of 1

Assign URL to Image Asset

Posted: Wed Jan 09, 2013 10:07 pm
by Bernie

I do have an image placeholder named "mobileimagePictureURL"

How can I assign a picture URL as an asset to that image with javascript?


Assign URL to Image Asset

Posted: Wed Jan 09, 2013 10:54 pm
by maxkatz

You can use Tiggzi.getImagePath(..) function to get the image URL and set it.
http://docs.tiggzi.com/javascript-api...

code
Tiggzi('image_name').attr('src', 'url_to_image');
/code