Bernie
Posts: 0
Joined: Fri Jul 27, 2012 2:06 pm

Assign URL to Image Asset

I do have an image placeholder named "mobileimagePictureURL"

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

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Assign URL to Image Asset

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

Return to “Issues”