Export product images URLs
Posted: Thu Jul 13, 2017 7:25 pm
Hello, any idea how to figure out the correct link to images?
I am exporting products to a .csv file, but having issues exporting images.
I am using the image field in the product table, but there is a problem:
- in the product table, the image name is something like "catalog/products/1113/whatever.jpg"
- I am manually adding the prefix "http://example.com/image/cache/" so image URL becomes "http://example.com/image/cache/catalog/ ... atever.jpg"
- however, this is not working, as actual image links are changed to catalog/products/1113/whatever-600x451.jpg
- who/what is adding the "-600x451" part and how can I manage to export correctly?
PS: I know there are multiple images per product in the images table, but for now, I would like to solve the first issue.
I am exporting products to a .csv file, but having issues exporting images.
I am using the image field in the product table, but there is a problem:
- in the product table, the image name is something like "catalog/products/1113/whatever.jpg"
- I am manually adding the prefix "http://example.com/image/cache/" so image URL becomes "http://example.com/image/cache/catalog/ ... atever.jpg"
- however, this is not working, as actual image links are changed to catalog/products/1113/whatever-600x451.jpg
- who/what is adding the "-600x451" part and how can I manage to export correctly?
PS: I know there are multiple images per product in the images table, but for now, I would like to solve the first issue.