Downloading an image by clicking the link
i having problem download image on app. how download image allowable in andriod, ios , windows phone?
this following code have:
<div> <a href="https:sample.com/uploads/04-19-2016/1.jpg"> <span class="attachment-wrap"><i class="fa fa-paperclip" aria-hidden="true"></i> ..1.jpg</span> </a> </div> <div> <a href="https:sample.com/uploads/04-19-2016/2.jpg"> <span class="attachment-wrap"><i class="fa fa-paperclip" aria-hidden="true"></i> ..2.jpg</span> </a> </div> <div> <a href="https:sample.com/uploads/04-19-2016/3.jpg"> <span class="attachment-wrap"><i class="fa fa-paperclip" aria-hidden="true"></i> ..3</span> </a> </div>
if link clicked image should download. have tried html <a> download attribute but not allowed on ios.
i tried reading this: cordova-plugin-file-transfer - apache cordova didn't understand how works(thinking not applicable on situation)?
any help?
you on right track. cordova-plugin-file-transfer - apache cordova should looking at.
if want *view* image in app (like in photos app etc), you'll need else.
something cordova-open or cordova-plugin-file-opener2 ?
i search "open" or "image" @ plugin search - apache cordova
More discussions in PhoneGap
adobe
Comments
Post a Comment