danidode Posted January 10, 2013 Share Posted January 10, 2013 im trying to load product images to prestashop,but the image don´t appear,when i inspect the image with firebug, the route don´t have the folder and image created... it can be for permissions? what can i do? Link to comment Share on other sites More sharing options...
Valérie Assetskaya Posted January 11, 2013 Share Posted January 11, 2013 Hi, Please, specify if the images are uploaded on the server or the path is just not correct. Best regards. Link to comment Share on other sites More sharing options...
danidode Posted January 11, 2013 Author Share Posted January 11, 2013 the path is just not correct it only happens in the product-list tpl Link to comment Share on other sites More sharing options...
vekia Posted January 11, 2013 Share Posted January 11, 2013 which OS you've got and where you installed XAMPP ? Link to comment Share on other sites More sharing options...
danidode Posted January 11, 2013 Author Share Posted January 11, 2013 windows 7 and the prestashop version is 1.4.9.0 Link to comment Share on other sites More sharing options...
Valérie Assetskaya Posted January 11, 2013 Share Posted January 11, 2013 Hi, Could you, please, specify the correct path and the one you have got now. Best regards. Link to comment Share on other sites More sharing options...
danidode Posted January 11, 2013 Author Share Posted January 11, 2013 this url show the image correctly: <img src="http://localhost/Cocimania/cocimania/img/p/9-36-home-list.jpg" alt="Auriculares aislantes del sonido Shure SE210"> and this one not: <img src="http://localhost/Cocimania/cocimania/img/p/3/3/33-home-list.jpg" alt="housse-portefeuille-en-cuir"> Link to comment Share on other sites More sharing options...
Dh42 Posted January 11, 2013 Share Posted January 11, 2013 Try to regenerate your images in the back office. Link to comment Share on other sites More sharing options...
Valérie Assetskaya Posted January 11, 2013 Share Posted January 11, 2013 Hi, There is a function that returns the images url - Link::getImageLink ( /** * Returns a link to a product image for display * Note: the new image filesystem stores product images in subdirectories of img/p/ * * @param string $name rewrite link of the image * @param string $ids id part of the image filename - can be "id_product-id_image" (legacy support, recommended) or "id_image" Best regards. Link to comment Share on other sites More sharing options...
Recommended Posts