AbanteCart Community
Shopping Cart Operations => Support => Topic started by: 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?
-
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
-
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.
-
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.
-
Yes and yes, go ahead and click the links and they will appear!
-
Very strange, could be something to do with URL itself or your server. I have done this before and it worked for me.
-
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
-
Hello.
Please try to apply changes from this commit (https://github.com/abantecart/abantecart-src/commit/96cfa52e3a75ca3b608b242c35925654e571d018) in 13.1 branch and import again.
-
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.
-
Thank you, timlight10