- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In listview, i am displaying image and link <a href="'+imageURL+'" download>Save</a> to download image ,
On click of save in emulator image is getting downloaded, After installing in phone the link is not responding and the image is not getting downloaded.
Below is the code for reference:
el = document.getElementById('thelist');
li = document.createElement('li');
li.innerHTML='<br/><center>'+
'<div id="divContainerID" class="divContainer">'+
'<div class="divTitle">'+feed.items.title+'</div>'+
'<div class="divImg"><img src="'+feed.items.media.m+'" height="auto" width="100%" /></div>'+
'</div><div class="divFooter"> <div class="divFooter"><a href="'+feed.items.media.m+'" download>Save</a></div><br/></div><br/></center>'
el.appendChild(li, el.childNodes[0]);
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you give an example of the final url to download the image? What is placed in feed.items.media.m when running?
Regards,
Diego
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Here it is : http://farm8.staticflickr.com/7666/26760451752_84ed224ca1_m.jpg
The url differs for every li in listview
Regards ,
M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you configure the whitelisting? Projects / Build Settings / Whitelist
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
What should I configure? I have not touched this section .
What should I configure for url like : http://farm8.staticflickr.com/7666/26760451752_84ed224ca1_m.jpg
Attached is the screen shot for reference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mallikarjun -- follow the instructions and links in the info icons -- the (i) icons...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry Paul, I didn't get it. Please brief it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are links in the hover text when you hover over the (i) icons in the Build Settings:

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page