Page 1 of 1

Join 3 parts of image URL on mapping

Posted: Mon Mar 04, 2013 12:00 am
by Belisario Retto Abreu

I have this JSON:

"icon":{ "prefix":"https:\/\/foursquare.com\/img\/categories\/building\/gym_",
"sizes":[
32,
44,
64,
88,
256
],
"name":".png"
},

The image URL is formed with prefix+size+name. I will use always size = 88. How can I mapping this 3 JSON fields to a image field?


Join 3 parts of image URL on mapping

Posted: Mon Mar 04, 2013 1:17 am
by maxkatz

Save the values into local storage. There is no simple way right now to map three parameters to one page element.


Join 3 parts of image URL on mapping

Posted: Mon Mar 04, 2013 10:12 am
by Belisario Retto Abreu

How and where I save it. Can you help me with a sample?


Join 3 parts of image URL on mapping

Posted: Mon Mar 04, 2013 10:29 am
by Kateryna Grynko

Hello,

You can try our tutorials.
Find an example in "Using local storage API directly (optional)" section:
http://docs.tiggzi.com/tutorials/buil...