rammohan.acharyadasa
Posts: 0
Joined: Thu Apr 05, 2012 5:03 pm

how to reference image from Image Assests

Hi
i want to reference image from the local asset image not the url image
please let me know
i want to do some think like this on page load
$('div[dsid="mobilecontainer12"]').css('background-image',
'woodwhiteimage.jpg')
here woodwhiteimage is stored in project/assets/images
please let me know how to achieve this

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

how to reference image from Image Assests

code
Tiggzi.getImagePath('image_name');
/code

rammohan.acharyadasa
Posts: 0
Joined: Thu Apr 05, 2012 5:03 pm

how to reference image from Image Assests

Excellent. thanks a lot Max.

Return to “Issues”