chorn Posted June 13, 2012 Share Posted June 13, 2012 hi everybody, i'm triing to import a few thousand articles to presta shop. everything worked fine while importing products and corresponding categories, but i don't get the images working. when manually uploading images with the administrative tools, i always got a path like presta/img/p/PRODUCTID-1-home.jpg or "-large.jpg" for the details. so i renamed all my images to the above sheme and made the inserts on product_image and product_image_lang. but the images don't show up. when i have a look on the administrative tools, in the image section, all images are linked to presta/img/p/3/5/35.jpg with random numbers. so how are these path build? i can't see how i have to rename/move the images to get them show up. greetings from germany Link to comment Share on other sites More sharing options...
tdr170 Posted June 13, 2012 Share Posted June 13, 2012 All product images are in root/img/p/ and are given names by prestashop such as 1-156.jpg 1-156-home.jpg 1-156-large.jpg 1-156-medium.jpg 1-156-small.jpg 1-156-thickbox.jpg All of these images are the same product and each image is used in a different location within the shop based on the size needed. the next product will be the same scheme but with a number like 157 then 158 and so on. If you look in Preferences/ Images you will see a list of image names and sizes and should give you a better clue. If you have renamed images they will not show as Prestashop has the images linked to the names given by Prestashop on upload. Link to comment Share on other sites More sharing options...
MEG Venture Posted June 13, 2012 Share Posted June 13, 2012 I suggest you to put images in a root folder like "imgimport/img" and then in the product csv file, to declare image paths as below: ../imgimport/img/pic1.jpg, ../imgimport/img/pic2.jpg It should work. Link to comment Share on other sites More sharing options...
chorn Posted June 14, 2012 Author Share Posted June 14, 2012 @tdr170 thanks, works great with img/p/IDPRODUCT-IDIMAGE-home.jpg -large.jpg etc. great. @caglar thank you for your reply, but CSV-import was not an option. Link to comment Share on other sites More sharing options...
muhsinap Posted March 30, 2013 Share Posted March 30, 2013 I suggest you to put images in a root folder like "imgimport/img" and then in the product csv file, to declare image paths as below: ../imgimport/img/pic1.jpg, ../imgimport/img/pic2.jpg It should work. Hai In which controller i can change this? I am new to prestashop 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