You can save an image from a URL via the Cordova File API's Filterable object (see here
). A small sample for downloading an image using FileTransfer can be cloned and tested from here
About displaying it in a div, you might consider using the .prepend() method
$('#theDiv').prepend('<img id="img" src="<path_to_image>" />')
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Missed our first webinar, watch it here.
Share feedback and vote for features on our Feedback Portal.