Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
4 lines (2 sloc) 375 Bytes

Render Images from Data Sources

Obtaining image links from JSON objects has been explained already. However, how do you present that image as an actual image requires a bit of ingenuity, yet it is simple even if you don't figure it out yourself. You have to generate html using the variable to complete the link like this: html += "<img src = '" + val.imageLink + "'>";

Something went wrong with that request. Please try again.