How to upload product pictures from Google Drive?

How to upload product pictures from Google Drive?

Lou-adrien
Visitor
3 0 4

Hello, would anyone have figured out how to have product picture image upload by url work with google drive? I cannot make it work for the life of me.

The following image is set to be publicly available : 

https://drive.google.com/uc?id=11WjAzXcnPGOBg9_2ARAVQD1-EWV9rJd8

 

When opened in incognito mode, it redirects to a final URL (which is temporary, please try it yourself to get a new one). At the time of writting the final URL is : https://doc-0s-9g-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/mc1oiajs...

 

This url is a fully public image, without redirection, and served with the correct content type as any webserver would serve image assets. However, using the product image uploader will fail with the message : 

 

Screen Shot 2019-09-24 at 21.19.48.png

 

Would anyone have found a way to make google drive images work for product image?

Alternatively, could anyone recommend a good image hosting solution that would allow direct upload of a folder structure without having to set the sharing settings for each files individually, I am dealing 1000+ images that would be extremely inconvenient.

 

Thanks a lot in advance,

Replies 15 (15)

jtdesign
Shopify Partner
36 0 6

Hey there, 

 

Looks like we're in the same boat - I've been forever looking to integrate Google Drive images as we're using this solution for sharing among our teams. 

 

If you find something I'd be glad to know - We're for now using some automation to upload final edits to an ftp where I can use the url. 

 

Would love to bypass that step though. 

 

Cheers

edjusted
Visitor
2 0 3

Figured it out! You have to use the link as if you're going to *download*, not *view* the file.

 

You want to convert this:

 https://drive.google.com/file/d/(a bunch of letters and numbers)/view?usp=drivesdk

 

To this:

 https://docs.google.com/uc?export=download&confirm=no_antivirus&id=(a bunch of letters and numbers)

andrejhocevar
Shopify Partner
3 0 1

That's right! For anyone having the same problem, @edjusted's solution still works. However, depending on how you get your link in the first place (might be from the web version of Drive or – in my case – Drive File Stream), the exact URL might be a bit different. You just need to identify the correct ID.

For example, change 

https://drive.google.com/file/d/…

or

https://drive.google.com/open?id=…

 to

https://docs.google.com/uc?export=download&confirm=no_antivirus&id=

 

Then delete everything after the file ID (e.g., “/view?usp=sharing” or “&authuser=…&usp=drive_fs”) so your final URL ends with just the ID. 

Mikel_fern
Tourist
8 0 1

Hello,

 

same problem here,

 

Have this link from google drive:

 

https://drive.google.com/file/d/1otkaFSTwJ8iDW9kncewuVNzcyujmavex/view?usp=sharing

 

 

but when trying to upload in shopify don't funx.

 

tried the solution to this:

 

https://drive.google.com/1otkaFSTwJ8iDW9kncewuVNzcyujmavex&id=

 

 

Getting error: 


erro shopify.jpg

 

 

 

 

If someone find the solution please share

Thank you

Mikel_fern
Tourist
8 0 1

After reading again the posts of Edjusted and Andrejhocevar

 

The solution:

copy the link (google drive image)

 

https://drive.google.com/file/d/kaFSTwJ8iDW9kncewuVNzcyujmavex/view?usp=sharing

 

 use only the bunch of letters and numbers after ("file/d/")

Sem título.jpg

base url:

 

https://docs.google.com/uc?export=download&confirm=no_antivirus&id=

 

insert the bunch of letters in the base url and past this into shopify:

 

https://docs.google.com/uc?export=download&confirm=no_antivirus&id=kaFSTwJ8iDW9kncewuVNzcyujmavex

 

 

Hope this can help someone

 

 

 

Twoodlepip
Excursionist
30 0 7

Does this still work do you know? I just tried it but no joy..

kapdakhoj
Visitor
2 0 0

Hi @edjusted , it seems to be working in browser but don't find a way to make it work in the product upload section (specifically pasting URL)

kapdakhoj_0-1693232876936.png

Can anyone please help here? Any kind of help would  appreciated.

Thanks!

tanmaykejriwal
Shopify Partner
61 1 6
Hi You can use this app and it lets you import from any social drives
https://apps.shopify.com/compress-files?search_id=2a5f2288-56b8-4730-8a24-a30a4bb128c5&surface_detai...
TK
kapdakhoj
Visitor
2 0 0

Hi @tanmaykejriwal , thanks for the help... just curious are there any free solution available to upload google drive images to shopify product via csv?

tanmaykejriwal
Shopify Partner
61 1 6

Can you elaborate more wym by csv and google drive ?

TK
Camelback
Visitor
2 0 0

Very good. Another helpful tool for this process is this Google Drive add on called Google Drive Direct.   https://sites.google.com/site/gdocs2direct/

 

It let's you select a folder on Google Drive and create a table of every document in a file as downloadable URLs!! This way, you can easily create a spreadsheet of all the download links for a Google Drive folder full of a thousand images. From here you can more easily copy paste them into a product bulk import spreadsheet.  I haven't done it yet, but it looks like it'll work. Good luck https://sites.google.com/site/gdocs2direct/

kgrammer
Tourist
38 0 1

I realize this is an older post, but for anyone else dealing with this issue, have a look at https://bucketlynx.com.  We offer product image file hosting as well as an auto-population feature that can be used to get your product image file URL links automatically added to your bulk upload template files.  We can't say that you won't have to adjust your folder layouts since we work in single-level buckets, but BucketLynx is worth a look.

Owner, https://bucketlynx.com

tanmaykejriwal
Shopify Partner
61 1 6

Here is the solution to your problem 

https://apps.shopify.com/compress-files?

tanmaykejriwal_0-1679696052114.png

 

 

TK

movsumov
Shopify Partner
88 5 30
Harald81
Tourist
9 0 1

Nice tool. but is more expensive as the whole Shopify Shop