diesein Posted May 26, 2014 Share Posted May 26, 2014 Hi All, I am pretty new on prestashop, but I have an issue I can't really find a solution for on this forum. I added a CMS page to my website containing two images. These are uploaded to img/cms. In the editor the image show, but the images are showing on the front end as a question mark. The problem seems to be the URL for the image. By checking the frontpage it show this URL: www.mydomain.com/en/img/cms/picture.jpg If open the image in a new tab, it is also shown as a question mark, but when I delete /en from the URL it is showing! www.mydomain.com/img/cms/picture.jpg Where can I adjust the setting for the virtual URL? I am using prestashop 1.6.0.6 Thanks in advance all! Link to comment Share on other sites More sharing options...
Do You Speak Graphic Posted May 27, 2014 Share Posted May 27, 2014 (edited) I have the same issue... On my prestashop I have a couple of CMS pages, both of them translated in 3 languages (EN, IT and RU). If I insert an image in the text field, it appears regularly. But when I publish the page, the image is substituted by a question mark. Checking the URLs, I see that every page is stored in its subfolder: http://www.volpiconfezioni.com/it/content/4-chi-siamo http://www.volpiconfezioni.com/ru/content/4-chi-siamo http://www.volpiconfezioni.com/en/content/4-chi-siamo the image URL is then rewritten by Prestashop like this http://www.volpiconfezioni.com/it/img/cms/image.jpg http://www.volpiconfezioni.com/en/img/cms/image.jpg http://www.volpiconfezioni.com/ru/img/cms/image.jpg while the image is actually stored in http://www.volpiconfezioni.com/img/cms/image.jpg Even if I try to change the source code of the CMS page, Prestashop forces it back... I've already tried to regenrate the .htaccess file, without success... Any idea? Thanks, Raffaele EDIT: Since the client wanted the site to work, I had to find a working solution, so I've uploaded the images to another host and use the new link to embed them in the CMS pages. It his case it works, so I imagine that the problem is the way Prestashop handles the URL rewriting... Just for your benefit, I've left the issue on the english page, so now I have: http://www.volpiconfezioni.com/en/content/4-chi-siamo not displaying image http://www.volpiconfezioni.com/it/content/4-chi-siamo http://www.volpiconfezioni.com/ru/content/4-chi-siamo displaying (because they are on another server) Edited May 27, 2014 by Do You Speak Graphic (see edit history) Link to comment Share on other sites More sharing options...
diesein Posted May 29, 2014 Author Share Posted May 29, 2014 On 5/27/2014 at 10:42 AM, Do You Speak Graphic said: I have the same issue... On my prestashop I have a couple of CMS pages, both of them translated in 3 languages (EN, IT and RU). If I insert an image in the text field, it appears regularly. But when I publish the page, the image is substituted by a question mark. Checking the URLs, I see that every page is stored in its subfolder: http://www.volpiconfezioni.com/it/content/4-chi-siamo http://www.volpiconfezioni.com/ru/content/4-chi-siamo http://www.volpiconfezioni.com/en/content/4-chi-siamo the image URL is then rewritten by Prestashop like this http://www.volpiconfezioni.com/it/img/cms/image.jpg http://www.volpiconfezioni.com/en/img/cms/image.jpg http://www.volpiconfezioni.com/ru/img/cms/image.jpg while the image is actually stored in http://www.volpiconfezioni.com/img/cms/image.jpg Even if I try to change the source code of the CMS page, Prestashop forces it back... I've already tried to regenrate the .htaccess file, without success... Any idea? Thanks, Raffaele EDIT: Since the client wanted the site to work, I had to find a working solution, so I've uploaded the images to another host and use the new link to embed them in the CMS pages. It his case it works, so I imagine that the problem is the way Prestashop handles the URL rewriting... Just for your benefit, I've left the issue on the english page, so now I have: http://www.volpiconfezioni.com/en/content/4-chi-siamo not displaying image http://www.volpiconfezioni.com/it/content/4-chi-siamo http://www.volpiconfezioni.com/ru/content/4-chi-siamo displaying (because they are on another server) It is a good work around, but not the solution I am looking for. I want to host the images on the same server, also because I don't know how google is handling images on a different server. If anyone knows a solution that is not a work around... keep me posted! Link to comment Share on other sites More sharing options...
mir-aus Posted June 9, 2014 Share Posted June 9, 2014 HI there, I have same problem , any suggestion? 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