Pepozzo Posted June 22, 2011 Share Posted June 22, 2011 Hello!I've uploaded to my img/p/ folder about 3000 images by a PHP script that generate the image name in the format "id_category-id_product.jpg".So, now i would link each image with its product.How can i do that?(i've also tried to generate new thumbnails, but nothing happened)Thank you in advance Link to comment Share on other sites More sharing options...
Thomas Didierjean Posted June 22, 2011 Share Posted June 22, 2011 Hi,The right way to link images to products is by using CSV import. Create a CSV file with this format:product id;product name;image urlfor example:10;product10;C:\Tulips.jpg11;product11;C:\Koala.jpgThen use the product import tool in BO.Regards, Link to comment Share on other sites More sharing options...
Pepozzo Posted June 22, 2011 Author Share Posted June 22, 2011 Yes, i know. But i've a lot of images and if i try to upload them with the CSV importer i receive a "Timeout Error", cause i can't modify the max_execution_time. =(So i'm trying to find another solution, if it's possible.Thank you! Link to comment Share on other sites More sharing options...
Thomas Didierjean Posted June 22, 2011 Share Posted June 22, 2011 You can split the CSV file in smaller files, so that it doesn't exceed your server max execution time. The import tools makes changes to the database to link the images to products, that's why you cannot just copy the image files. Link to comment Share on other sites More sharing options...
Pepozzo Posted June 22, 2011 Author Share Posted June 22, 2011 Ok, i will try to split the CSV.Thank you very much! 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