Jump to content

Image description is not working


Recommended Posts

  • 3 weeks later...

Hello!

 

I have the same problem and I have found a solution that works to me by the moment.

 

When you select add/edit image you can put a URL from another site instead of select a image from Prestashop's File Manager. I do this and I can see the images.

 

Maybe it works for you too.

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 months later...

Same issue here... 

 

Images within the descriptions get a url write: <img src="%5C" alt="""" />

 

Why %5C?   Happens on all inserted images within description field.

 

It was working fine until the other day. 

 

Anybody have any ideas? 

 

 

Also, inserting a video doesn't work either.

Edited by KaulanaPet (see edit history)
Link to comment
Share on other sites

prestashop 1.6.0.8

 

I Found the solution without modify anything in the presta files.

 

enable ssl and force the ssl on all pages but uncheck html purifier library (very important). you could enable it after insert the image.

 

then go on CMS (exemple: about us) the image who's already there when you install prestashop work well even in ssl so you have to copy how they wrote the code. 

 

<img title="cms-img" src="../img/cms/cms-img.jpg" alt="cms-img" width="370" height="192" />

 

replace by your name image 

 

<img title="your name image" src="../img/cms/your name image.jpg" alt="your name image" width="370" height="192" />

 

write this way on the little popup window [insert/edit image] right after uploaded and chose the image from your file manager.

 

 source             ../img/cms/your name image.jpg

 image description   ....

 dimensions             ...

 

Save it and go to enable the html filter purifier if you done to put new images.

Now it should work. your image is here and your page is still SSL.

 

ps: you'll have to disable html purifier library every time you need to add a new picture from your file manager otherwise it will appear this famous question mark instead of the image and your page won't be SSL

 

It tooks 2weeks to found that, I hope you'll appreciate this post. That's the most annoying bug on prestashop, I don't even know why the Presta team didn't fix that so far!!!!????

 

 

I still have a problem with the homeslider who's disappear when running on Safari, need to refresh the page every time I come back on the home page!!! if somebody have the Solution I'll appreciate to know it ;) thanks

 

vince

Link to comment
Share on other sites

I don't know but when I tried to insert image with the way I found with html purifier "on" it does the code 

 

it change that:

<img title="cms-img" src="../img/cms/cms-img.jpg" alt="cms-img" width="370" height="192" />

into that:

<img title=""cms-img"" src="%5C" alt=""cms-img"" />

 

it doesn't affect it if we turn the html purifier after done to put our images though??!!!

I don't know anything in code

 

also for ssl: 

changing <img title="cms-img" src="http.. to src="../  resolve it !!! I can't explain but it works

Edited by vincent89 (see edit history)
  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...