hakeryk2 Posted March 15, 2016 Share Posted March 15, 2016 Hello community, This time I am having problem with something ... weird. I want to get url for original product image in Prestashop 1.6.1.4 and nothing is showing up. For example product images with ID 5270 are stored in mydomain.com/img/p/5/2/7/0 directory on ftp. There are several files like: 5270-cart_default.jpg 5270-home_default.jpg 5270-large_default.jpg 5270-medium_default.jpg 5270-small_default.jpg 5270-thickbox_default.jpg 5270.jpg If I will put for example mydomain.com/img/p/5/2/7/0/5270-cart_default.jpg or any other file with "default" in name everything is working fine. Image are displayed in my browser. But when I try to get original image which is mydomain.com/img/p/5/2/7/0/5270.jpg I only see this annoying question mark :/ P.S When I download this file from ftp the image is working fine and it is original one. What is wrong? I need those photos Link to comment Share on other sites More sharing options...
hakeryk2 Posted March 21, 2016 Author Share Posted March 21, 2016 Solved: It was my mistake. Photos are stored by their own IDs. To get just open some product on Your page, click on main thumbnail and grab "copy url of image" and You will get it something like this: http://yourdomain.com/1981-large_default/name-of-your-product.jpg now just change it to http://yourdomain.com/1981/name-of-your-product.jpg and You have your original uploaded photo. 1 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