yankeerudy Posted September 27, 2013 Share Posted September 27, 2013 Importing Product data via a CSV file. My products have images, so I uploaded them to a folder off my root and included the full path in the CSV - i.e., http://www.domain.com/folder/image1.jpg etc. The import process works without issue. When I examine the front-end of the store, I see placeholder images for the products which point to www.domain.com/20-large/dark-blue.jpg where "20" is the product ID and "dark-blue.jpg" is the image filename. Curiously, when I examine the back-end Product catalog I find that there are images attached to the products in the Admin/Catalog/Products/Edit panel, with names like www.domain.com/img/p/2/0/20-small_default.jpg (again, where "20" is the product ID.) Any ideas or suggestions? Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted September 27, 2013 Share Posted September 27, 2013 is it showing question mark on images on front ? are u able to see images via url...try adding a class and add css to it display:block; height width Link to comment Share on other sites More sharing options...
yankeerudy Posted September 27, 2013 Author Share Posted September 27, 2013 Hi, Jiten, thanks for your response. I just get the question mark in the box. When I right-click on it and View Image, I get the same. Further, the location it references on the website has no such file. So no, it isn't just a styling thing. Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted September 27, 2013 Share Posted September 27, 2013 (edited) what u see when u click http://www.domain.com/folder/image1.jpg the thing is that prestashop adds an id like http://domain/27-home_default/blahblah.jpg Edited September 27, 2013 by Jiten rash (see edit history) Link to comment Share on other sites More sharing options...
yankeerudy Posted September 27, 2013 Author Share Posted September 27, 2013 Sorry, Jiten, both your links returned 404 errors. The missing images look like this below (with the big one being the product image and the two smaller ones being "Viewed Products"): Link to comment Share on other sites More sharing options...
yankeerudy Posted September 27, 2013 Author Share Posted September 27, 2013 I've already checked all the usual suspect folders for proper permissions, but can someone tell me where these image files are supposed to go? Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted September 27, 2013 Share Posted September 27, 2013 root img/p Link to comment Share on other sites More sharing options...
yankeerudy Posted September 27, 2013 Author Share Posted September 27, 2013 That's weird, because the question mark images are referencing elsewhere. Curioser and curioser... Link to comment Share on other sites More sharing options...
yankeerudy Posted September 27, 2013 Author Share Posted September 27, 2013 OK, now that's even weirder. I went hunting in the root/img/p folder and all the image files are there - it's not an import problem at all, but a display problem. And, voila! When I switch back to the default theme, all the images show up. It's the other theme (Matrice) that's apparently screwing. Now I have to fix the damned theme... Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted September 27, 2013 Share Posted September 27, 2013 (edited) great disable friendly url and see after 5 minutes enable it again Edited September 27, 2013 by Jiten rash (see edit history) Link to comment Share on other sites More sharing options...
yankeerudy Posted September 27, 2013 Author Share Posted September 27, 2013 I followed your suggestion, Jiten, and while the URLs changed the presence or absence of friendly URLs didn't make any difference. What is different is that, for one product, the default theme addresses the image as "4-large_default" while the bad theme calls it "4-large.jpg" Not sure why that is, but that is the problem right there - there is no "4-large.jpg" file in the root/img/p folder structure. 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