Cristi Andronic Posted February 2, 2020 Share Posted February 2, 2020 Hello, We are using cvs files to import our products on our website (Prestashop 1.7.6.0), and we have a question about importing images for each product. Everything works fine trough csv files but we need a solution, if there is one, to import all images by only one link. For now we can import images for products by linking all images, separately, like this: ../imgimportfolder/Imagename1.jpg, ../imgimportfolder/Imagename2.jpg, ../imgimportfolder/Imagename3.jpg, ../imgimportfolder/Imagename4.jpg etc. How can we import all images of each product, by one link in csv file? It is possible? This can be the best solution, most of all, when you have many images for each product. Thank you! Link to comment Share on other sites More sharing options...
Guest Posted February 3, 2020 Share Posted February 3, 2020 (edited) Do you use your own script? What is your exact idea of importing all images? It is not clear from the inquiry. Do you want to browse all images from imgimportfolder? Edited February 3, 2020 by Guest (see edit history) Link to comment Share on other sites More sharing options...
Cristi Andronic Posted February 6, 2020 Author Share Posted February 6, 2020 I use a default csv file, downloaded from prestashop back office. When I finish to complete the csv file, I am uploading trough default uploading prestashop section, from back office. Yes, I want to browse all images from imgimportfolder. All trough one single link. I can't insert links for each image of product, to much work. Thank you! Link to comment Share on other sites More sharing options...
Guest Posted February 6, 2020 Share Posted February 6, 2020 Can I put a sample of csv and a sample of ftp files here? Link to comment Share on other sites More sharing options...
Cristi Andronic Posted February 6, 2020 Author Share Posted February 6, 2020 Yes, please. Link to comment Share on other sites More sharing options...
Guest Posted February 6, 2020 Share Posted February 6, 2020 Sorry, I wrote it wrong. I need to see your csv file. Link to comment Share on other sites More sharing options...
Cristi Andronic Posted February 6, 2020 Author Share Posted February 6, 2020 csv file.csvI have attached my csv file. Most of columns have romanian translation but my discution it is about "Images URLs" column. Here, can I insert one URL for uploading once all images of product? URL of folder containing images? Thank you! Link to comment Share on other sites More sharing options...
Guest Posted February 7, 2020 Share Posted February 7, 2020 7 hours ago, Cristi Andronic said: csv file.csvI have attached my csv file. Most of columns have romanian translation but my discution it is about "Images URLs" column. Here, can I insert one URL for uploading once all images of product? URL of folder containing images? Thank you! I understand, you thought you would enter in the img url column eg "../imgfolder/*.jpg" and all images from the imgfolder folder with the jpg extension would be imported. No, the Prestashop importer can't do that. It should be noted that image processing is a complex process. If you have max_execution_time = 90 on your webhost, you will upload up to 15 images in 90 seconds. Then the import crashes and you get 500 error. For importing more images, it is better to customize the script and set up the Cron task. This is nothing difficult. Then only the path to the image folder for each product could be entered in the img url column. E.g. "../imgfolder/product1" Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now