Questions tagged [imagedownload]

Use this tag for questions related to downloading any kind of images programmatically.

275 questions
96
votes
10 answers

How to download and save an image in Android

How do you download and save an image from a given url in Android?
Droidman
  • 11,485
  • 17
  • 93
  • 141
8
votes
2 answers

CORS error while download image from S3 with HTTPS from chrome, but the same work in Firefox

I'm trying to download .jpg & .pdf images from S3 which has following settings *
Mridul Raj
  • 1,001
  • 4
  • 19
  • 46
8
votes
1 answer

Retrieve images in cells using Google Sheets API

I'm using the Google Sheets API to return the JSON of a Google Sheet, e.g var url = 'https://spreadsheets.google.com/feeds/list/' + id + '/od6/public/values?alt=json'; In one of the cells I have added an image, but this appears empty in the…
Adam
  • 1,136
  • 8
  • 26
  • 51
7
votes
3 answers

Caused by: java.lang.IllegalStateException: Unable to create directory in Android 6.0 devices

I have to store the download the image from the url using DownloadManager and store it into the sdcard with my own directory like "xyz". This is my code File img_directory = null; img_directory = new File(Environment.getExternalStorageDirectory() +…
malavika
  • 1,331
  • 4
  • 21
  • 54
7
votes
3 answers

UIWebView's property scalesPageToFit = YES not working correctly on larger images

In an iphone app i have a webview in which i want to preview some image downloaded from internet, my problem is that the some images are not viewed as to fit in the frame of webview, but most do. I think this is due to the fact that those images are…
iMemon
  • 1,095
  • 1
  • 12
  • 21
7
votes
1 answer

Downloading images in scrapy

I am trying to download image in via scrapy. Here are my different files : items.py class DmozItem(Item): title = Field() image_urls = Field() images = Field() settings.py BOT_NAME = 'tutorial' SPIDER_MODULES =…
Mayank Jain
  • 2,504
  • 9
  • 33
  • 52
5
votes
2 answers

Android - How to download an image and use it at run time?

Im my app when the splash screen gets started I am just hitting an URL and getting back an XML file. From that XML file i am parsing out data such as an user name, id and an URL to download an image. From that url i want to download an image and i…
Siva K
  • 4,968
  • 14
  • 82
  • 161
5
votes
4 answers

Get images from PHP server to Android

I am prototyping an android application and need to get images from a web server to Android ListView. I understand the android side of things (although am yet to implement and test) via this thread Lazy load of images in ListView I need help with…
KMS
  • 766
  • 1
  • 7
  • 10
5
votes
2 answers

Image appearing 90 degree tilt when downloaded from server in Android?

Working on an application in which we capture images and upload over server. Application is in Android And I Phone. When we post image from Android, they are of quantity in Kilo Bytes but when we Post image from I Phone they are of MB size. When we…
Sam-In-TechValens
  • 2,501
  • 4
  • 34
  • 67
5
votes
3 answers

Android download image from server and save to sdcard without using BitmapFactory

I am trying to create an application that use to download image from server and show it into listview. The problem that I made was the leak of memory and make my application crash. I was searching in Android blog such as this link, it show a great…
vsatkh
  • 179
  • 2
  • 10
4
votes
1 answer

Error : Access denied finding property "ro.serialno" in Android Studio

I have written a java code in Android Studio to download and display an image from the internet on a button click. It shows errors E/libc: Access denied finding property "ro.serialno" and Current dex file has more than one class in it. Calling…
Coder Boy
  • 41
  • 1
  • 5
4
votes
2 answers

How to download an image by clicking on button into our local using angularjs?

Hi I am new to angularjs and I saw a lot of questions on stackoverflow regarding this, but was not able to find a good solution. My requirement is (1) I don't want to use tag (2) I don't want to…
shreyansh
  • 1,637
  • 4
  • 26
  • 46
3
votes
2 answers

Grab image from.asp url and saving it

I'm trying to grab the image located here and save it in my server few times per day, just as if I "right-click" on the image and save it on my desktop. I have decided to use perl script to do this, here's what I wrote so far: use Image::Grab; …
user991329
  • 63
  • 1
  • 1
  • 6
3
votes
1 answer

Google Drive API v3 files.export method throws a 403 error: "Export only supports Docs Editors files."

Summary Trying to download a JPEG file using files.export, but get a Error 403 message: "Export only supports Docs Editors files." Description I am trying to make use of Google Drive API for a project of mine, which is really all about collecting…
dyma
  • 33
  • 1
  • 6
3
votes
1 answer

html 'download' attribute opens up a new page instead of downloading

I'm trying to make a download button for an image using the following code:
Ckwu
  • 33
  • 5
1
2 3
18 19