Questions tagged [imagedownload]

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

275 questions
3
votes
2 answers

React Native Download image from url and save in Gallery

I want download image from URL and save in the Gallery. This source works well on Android, but not iOS. import RNFetchBlob from "rn-fetch-blob"; let imgUrl =…
Gurbela
  • 1,184
  • 2
  • 16
  • 40
3
votes
2 answers

Downloading Images Asynchronously in Sequence

I am trying to download images but it is crucial that the images I download are in a specific order. I am using the following code to download the image: func downloadImage(url: NSURL, completionHandler: (response: UIImage) -> ()){ …
Bhavik P.
  • 905
  • 3
  • 10
  • 28
3
votes
0 answers

SDImageCache Memory Usage

I am using SDWebImageDownloader in my iOS 7 app to download images from the web. I am not using SDWebImageManager, only the downloader, which is not supposed to cache anything on my behalf. As more and more images are downloaded, my apps memory…
josephap
  • 2,075
  • 17
  • 24
3
votes
3 answers

ASP.NET Downloadable Image Files?

I don't have apache support on this website, but I need to be able to allow images to be downloadable in a certain directory only. How can I do this? This site only has ASP.NET support, and it's killing me! Noticed this link: How to download…
Solomon Closson
  • 6,111
  • 14
  • 73
  • 115
3
votes
2 answers

HTML5/Javascript code to download a image from the page browser?

I need javascript code to download all images in a web page. Is there a way to do it ? When the browser loads the page, there might be some images in that page, how to list all of them and download? I mean this should not involve sending request to…
Abhi Ram A
  • 305
  • 2
  • 4
  • 10
3
votes
0 answers

how to make a robust image gallery like facebook

i am trying to make a image gallery like facebook one thing which troubling me a lot that how can i make image viewer robust as in facebook if a have hundreds of image in a gallery how can i increase gallery performance. Is there any magic…
2
votes
1 answer

Download Multiple Images from URL List (Python 3)

I am trying to download many images from a list of URLs. When I use this code on just one image, it works fine. img = Image.open(requests.get(url_dict[key], stream = True).raw) img.save(f'images/{file_name}.jpg') When I run it through the…
Squidly
  • 23
  • 5
2
votes
1 answer

Image downloaded but can't open show the format is unsupported or corrupted

This is my code: function downloadImage(url) { fetch(url, { mode: 'no-cors', }) .then(response => response.blob()) .then(blob => { let blobUrl = window.URL.createObjectURL(blob); let a =…
anjanna
  • 21
  • 1
  • 4
2
votes
1 answer

How to download an image from frontend?

I am using this function to download the image I am getting from server on frontend of my app. const downloadImage = () => { fetch(`url`, { method: 'GET', headers: { 'Content-Type': 'image/png', …
2
votes
2 answers

How to download image in React.js?

I use this to download - Download But it's not working for me. I use the Chrome browser. It just opens the file in the browser.
Shahid
  • 129
  • 10
2
votes
1 answer

Download images from Google using python with selenium

from selenium import webdriver import time import urllib.request import os from selenium.webdriver.common.keys import Keys browser = webdriver.Chrome(r"C:\Users\Harbidel\Desktop\chromedriver.exe") #incase you are…
2
votes
3 answers

I tried to save 27 images in p5.js but only 10 is saved into my downloads folder. Why are all the files not saved?

In my code I try to save 27 images into my downloads folder but when i run the code it only saves a maximum of 10 images into my downloads folder. I logged my results in the console and the code seems to be running correctly. Initially i thought…
PiwiTheKiwi
  • 129
  • 1
  • 14
2
votes
1 answer

Image does not appear in phone after getting downloaded through react-native-fs library

I have used the react-native-fs library to download image through my app. The download shows to be completed but still the image doesn't show up in the phone anywhere. The folder shows the modified date but no image over there. The function that I…
Sourabh Banka
  • 1,080
  • 3
  • 24
  • 48
2
votes
1 answer

python asyncronous images download (multiple urls)

I'm studying Python for 4/5 months and this is my third project built from scratch, but im not able to solve this problem on my own. This script downloads 1 image for each url given. Im not able to find a solution on how to implement Thread Pool…
2
votes
0 answers

How to generate lh6.googleusercontent.com/[LONG_CODE], image url of a drive image, using it's doc id

So I'm trying to obtain a direct display url to images in a drive, using their document id's, like the url's that end in ".jpeg" and such, that only display the image, then use this link within my code to download the image. I found a url that was…
Drew U
  • 443
  • 2
  • 8
  • 17
1
2
3
18 19