Follow

How do I import images? (CSV Import PRO for PrestaShop)

Uploading Images

CSV Import PRO allows you to upload your files beforehand via ftp to a location in your store's root directory. You can then reference the path from the root directory. Don't know where your root directory is? It's the directory containing your admin, classes, config, controller, img folders, etc (see the image below).

Here is an example of how images must be uploaded for successful import, when done manually (this is the recommended approach):

cf_manual.png

Note: Creating a the path /image/data in your store directory is optional. You can add your images anywhere from your root store directory, as long as you specify the path in your feed from this location. 

Upload the image to:

image/data/laptop.jpg

Reference the image in your CSV file:

image/data/laptop.jpg

The laptop.jpg will be moved to the proper location in the img folder, and resized using PrestaShop's default image functionality. The images will not be removed from the location in the server from which they were copied from. They must be remove manually via ftp if you would like them removed. This is to prevent you from having to reupload your image files in case an import timeout occurred. 

Remote Images

When importing images from remote URL, the CSV Import PRO will create the appropriate references to the images it fetches. You only need to map the field and make sure the image link is a valid url. It is likely to take a lot longer to run an import while fetching images, which may lead to timeout issues if run from the PrestaShop admin interface. Downloading remote images is not recommended for more than 500 products.

Still not working?

Here are a few common reasons why images don't work:

  • Invalid filenames. If your files have funny names (spaces, unusual characters, etc) you may have issues importing them. Try changing the name. 
  • Images are uploaded to the wrong folder. 
  • Images are incorrectly referenced in the CSV file. Make sure the path is referenced from the PrestaShop store root directory, not from anywhere else. Take advantage of the Image prepend/append/remove text fields in Step 3: Adjust Data in order to format the correct path to the images in your feed. (i.e: removing incorrect text, prepending the directory path, etc")
  • Image URLs are not correct or do not point to valid images.
If you check all these and still have issues, consider purchasing our Installation Service so we can diagnose the reason for you. To enquire about this service, please leave a ticket in our helpdesk: http://helpdesk.hostjars.com/tickets/new
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk