News:

AbanteCart v1.4.2 is released.

Main Menu

CSV import with images hosted on Dropbox

Started by timlight10, April 03, 2021, 10:54:09 AM

Previous topic - Next topic

timlight10

Hello, AbanteCart is not loading images that are hosted on Dropbox when performing a CSV file import. The links for example are https://www.dropbox.com/s/rtxa0ex3fksjebh/3.Aeon_Blue.jpg?dl=1. Any advice?

timlight10

#1
Any ideas? This is what I see in the error log, but it's not very helpful...
2021-04-08 18:46:48 - Error: Unable to download file from https://www.dropbox.com/s/wcgcudl7izt9m5t/aeon_main_award745.jpg?raw=1

timlight10

Was unable to resolve with Dropbox, instead downloaded all of the files, FTPed up to my server and using some Excel formula manipulations, re-directed the upload to my local server.

maxter

Is the image URL that id on dropbox has a publick URL? Can you view it in the browser without login to dropbox? AbanteCart import can load images only from publick URLs.

timlight10

Yes and yes, go ahead and click the links and they will appear!

maxter

Very strange, could be something to do with URL itself or your server. I have done this before and it worked for me.

Basara

Quote from: timlight10 on April 03, 2021, 10:54:09 AM
Hello, AbanteCart is not loading images that are hosted on Dropbox when performing a CSV file import. The links for example are https://www.dropbox.com/s/rtxa0ex3fksjebh/3.Aeon_Blue.jpg?dl=1. Any advice?

Please share the CSV file with at least one product

Basara

Hello.
Please try to apply changes from this commit in 13.1 branch and import again.

timlight10

I was able to resolve this by applying the patched files in your previous post and by changing line 664 of import_process.php from $image_basename = basename($source); to $image_basename = basename($source,"?dl=1");

Thanks for your help, this is a real time saver in getting products updated and loaded to my store.

Basara


Forum Rules Code of conduct
AbanteCart.com 2010 -