mdgt Posted May 15, 2013 Share Posted May 15, 2013 (edited) Prestashop 1.5.2, fresh install. Not having friendly url activated gives me the following URL to images: http://www.xxxxx.no/img/c/6-category_default.jpg Having friendly url activated gives me the following: http://www.xxxxx.no/...ential-oils.jpg This results in images with a ? showing everywhere except for the logo. As you see it is missing the /img/. How do I correct this issue in a quick way? Best regards //Anders Edited June 4, 2013 by mdgt (see edit history) Link to comment Share on other sites More sharing options...
kadziola.jarek Posted May 16, 2013 Share Posted May 16, 2013 (edited) Post a link to your shop. This is subdomain? Edited May 16, 2013 by kadziola.jarek (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted May 16, 2013 Share Posted May 16, 2013 for the fiest you should regenerate thumbnails in your back office under the preferences -> images tab You use default theme? Link to comment Share on other sites More sharing options...
mdgt Posted May 16, 2013 Author Share Posted May 16, 2013 http://www.vivasanshop.no/index.php?id_product=40&controller=product&id_lang=1 http://www.vivasanshop.no/en/body-and-skin-care/40-tonic-tea-tree.html After I activate the friendly url I regenerate the Thumbs. Right now its set on friendly url to show you the issue. I think its easy to fix but I have no clue on hot to do it! //Anders Link to comment Share on other sites More sharing options...
vekia Posted May 16, 2013 Share Posted May 16, 2013 Okay, thanks for the information. So, pictures don't work only when you've got friendly urls on? right? Link to comment Share on other sites More sharing options...
vekia Posted May 16, 2013 Share Posted May 16, 2013 Under the preferences -> images have you got "Move Images" section ? PrestaShop has two image storage systems: the legacy one, which is efficient and has proven its worth over many versions of PrestaShop, and an improved one, which offers even better performance. You can keep relying on the old one, but you might want to use the new one, in which case you will need to trigger a one-time moving process of all the images. The process is really simple: just click on the "Move images" button, and PrestaShop will take care of everything. Once the process is completed, do not forget to change the "Use the legacy image filesystem" option, and set it to "No". Link to comment Share on other sites More sharing options...
mdgt Posted May 16, 2013 Author Share Posted May 16, 2013 I actually do not have the option of selecting legacy system. though I now for a fact that I once had. //Anders Link to comment Share on other sites More sharing options...
vekia Posted May 16, 2013 Share Posted May 16, 2013 sorry for so many questions: So, pictures don't work only when you've got friendly urls on? right? Link to comment Share on other sites More sharing options...
mdgt Posted May 16, 2013 Author Share Posted May 16, 2013 I confirm your statement; No pictures when in friendly url only. Link to comment Share on other sites More sharing options...
vekia Posted May 16, 2013 Share Posted May 16, 2013 okay, now it's all clear for me, i hope so ;-) i've noticed that you use non-default template, so - can you please paste the here the list of images defined under the preferences -> images ? Link to comment Share on other sites More sharing options...
mdgt Posted May 16, 2013 Author Share Posted May 16, 2013 (edited) See attached. Edited May 16, 2013 by mdgt (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted May 16, 2013 Share Posted May 16, 2013 everything looks fine here :/ Images for products in back office -> catalog -> products appear well? Link to comment Share on other sites More sharing options...
mdgt Posted May 16, 2013 Author Share Posted May 16, 2013 BACKOFFICE, all looks good no issues. See attached. Link to comment Share on other sites More sharing options...
vekia Posted May 16, 2013 Share Posted May 16, 2013 hey i've noticed that you've got: large large_default when you regenerating thumbnails, you have to regenerate large_default (you don't have to regenerate all images - only images for your theme) Link to comment Share on other sites More sharing options...
mdgt Posted May 16, 2013 Author Share Posted May 16, 2013 Even if I only regenerate the Large_Default its not working. I assume the issue is somewhere here. Shall I delete all the with "no" default? Link to comment Share on other sites More sharing options...
vekia Posted May 16, 2013 Share Posted May 16, 2013 yes, you can delete all images without _default i checked your theme and your theme uses only pictured with _default Link to comment Share on other sites More sharing options...
PascalVG Posted May 27, 2013 Share Posted May 27, 2013 Hi mdgt, Did you find a solution to your problem? Someone else has a similar problem as it seems: http://www.prestashop.com/forums/topic/249997-friendly-url/ so just checking if you found out what was wrong. Let us know, Thanks! pascal Link to comment Share on other sites More sharing options...
Frenkie Posted June 4, 2013 Share Posted June 4, 2013 Hy, I have the same problem ... if Friendly URL is on pictures dosent show (link is not wright). br Link to comment Share on other sites More sharing options...
vekia Posted June 4, 2013 Share Posted June 4, 2013 Hy, I have the same problem ... if Friendly URL is on pictures dosent show (link is not wright). br have you followed Pascal suggestions? Link to comment Share on other sites More sharing options...
mdgt Posted June 4, 2013 Author Share Posted June 4, 2013 I deleted the htaccess in root and then created a new one by going to homepage root via webbrowser. This created a htaccess and the images appear again. I can now use URL rewriting. 1 Link to comment Share on other sites More sharing options...
vekia Posted June 4, 2013 Share Posted June 4, 2013 I deleted the htaccess in root and then created a new one by going to homepage root via webbrowser. This created a htaccess and the images appear again. I can now use URL rewriting. Happy to hear that, so, the problem was with htaccess file @Frenkie please follow mdgt suggestions and let us know Link to comment Share on other sites More sharing options...
Frenkie Posted June 4, 2013 Share Posted June 4, 2013 Thanks for instructions mdgt. Did work for me. br Link to comment Share on other sites More sharing options...
uniquecomputers Posted June 17, 2013 Share Posted June 17, 2013 The friendly URL option did not work on products but worked on categories on my site (1.5.4.1) If you have this problem then this worked for me. Ignore the 'mod_rewrite is not working on your server' error when you switch-on friendly URLs. (Most commercial servers are running Apache Look at the Schema of URLs section at the bottom of the URLs & SEO page. My 'Route to products' box had this in it: {category:/}{id}-{rewrite}{-:ean91} Below it had the number 13 in red. I inserted this number into the box and all friendly URLs work. {category:/}{id}-{rewrite}{-:ean13} Link to comment Share on other sites More sharing options...
YanK1973 Posted June 27, 2013 Share Posted June 27, 2013 (edited) I have a similiar problem when enabling friendly URL on Prestashop 1.5.4.1: category images are not showing, products and everything else are fine. I have re-generated images and.htaccess, nothing. I'm not using default theme and i'm also using Clean Url module to get rid of number prefixes so i've noticed that missing image link still has the category number prefix (6) : http://www.myshop/c/6-category_themename/imagename.jpg Disabling friendly url is fixing category image not showing. Should i change something here? Edited June 27, 2013 by yanc (see edit history) Link to comment Share on other sites More sharing options...
uniquecomputers Posted June 30, 2013 Share Posted June 30, 2013 yanc - There is a 12 page discussion about a module that removes ID numbers from URLs. Its here: http://www.prestashop.com/forums/topic/204935-override-friendly-urls-without-id-number-for-v15/ It looks like it works and its free. Link to comment Share on other sites More sharing options...
abhijeetkumar Posted July 13, 2013 Share Posted July 13, 2013 Can anyone please check the post http://www.prestashop.com/forums/topic/261070-product-images-arent-getting-displayd-with-friendly-url-enabled/ and suggest what needs to be done? Our system is already has use the legacy image filesystem as no. Also we are using all custom images. Will moving images to new file system help? mod-rewrite is also enabled on our server and URLs are also getting created properly. Images are showing properly in admin panel. Regards, Abhijeet Link to comment Share on other sites More sharing options...
Degsey Posted November 10, 2013 Share Posted November 10, 2013 I found the same when I just tried to switch on the freindly urls in a new website in the latest version of prestashop and the images disapeared from the thumbnails and product images. I did the same as a previous contributor suggested and deleted the .htaccess file let it regenerate and then swicth the freindly urls back on and it worked. Link to comment Share on other sites More sharing options...
InnocentPuff Posted April 13, 2018 Share Posted April 13, 2018 Has the same issue. Solve by enabling " webservice " option in Advance Parameter > Webservices. (PrestaShop 1.7) Link to comment Share on other sites More sharing options...
tuanba Posted April 25, 2018 Share Posted April 25, 2018 On 4/13/2018 at 5:45 PM, InnocentPuff said: Has the same issue. Solve by enabling " webservice " option in Advance Parameter > Webservices. (PrestaShop 1.7) I have enabling this, but it does not work for me. please, tell me more. Thanks Link to comment Share on other sites More sharing options...
mds Posted May 14, 2020 Share Posted May 14, 2020 Any luck on this? I have tried regenerating .htaccess but no luck, this is not good at all. Link to comment Share on other sites More sharing options...
Msaustral Posted December 24, 2021 Share Posted December 24, 2021 Hi for those that have not yet found a solution, one possible cause is that the product has not link_rewrite value. Go to the table ps_product_lang -> link_rewrite, it MUST have information, otherwise there is no information to build the image URL when URL friendly is active Hope it helps! 1 Link to comment Share on other sites More sharing options...
shoplineuz Posted December 22, 2023 Share Posted December 22, 2023 On 5/17/2013 at 2:22 AM, vekia said: Under the preferences -> images have you got "Move Images" section ? http://doc.prestashop.com/download/attachments/11272201/pref025-imageMove.png?version=1&modificationDate=1344444532000 PrestaShop has two image storage systems: the legacy one, which is efficient and has proven its worth over many versions of PrestaShop, and an improved one, which offers even better performance. You can keep relying on the old one, but you might want to use the new one, in which case you will need to trigger a one-time moving process of all the images. The process is really simple: just click on the "Move images" button, and PrestaShop will take care of everything. Once the process is completed, do not forget to change the "Use the legacy image filesystem" option, and set it to "No". I have same issue on prestashop 8.2.1 but there is no such function to move images Can you guide me here 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