Jump to content

[SOLVED] Image in description issue


Recommended Posts

I wonder if anyone can help me I recently added a couple of new products to my site and in the description i inserted an image the same as all the other products the only issue is it sees to put a "\" in front of all the parameters which stops the image loading. this error only seems to happen on new products

 

the old products generate the following code for the image which works fine

<img title="Memory Chart" src="http://www.mobymemory.co.uk/img/cms/Chart.gif" alt="Memory Chart" width="583" height="533">

 

 

new products generate which is broken

 

<img title="\"Memory" chart\"="" src="\"http://www.mobymemory.co.uk/img/cms/Chart.gif\"" alt="\"Memory" width="\"568\"" height="\"398\"">

 

 

if anyone could help me get to the bottom of why it is doing this it would be a great help

Link to comment
Share on other sites

Hi we are using Prestashop 1.4.9

an example of a page with the image error is

 

http://www.mobymemory.co.uk/sd-sdhc-memory-cards/2169-16gb-class-10-sdhc-memory-card.html

 

as you can see the image in the description is broken as the img code being generated is

 

<img title="\"memory" chart\"="" src="\"http://www.mobymemory.co.uk/img/cms/Chart.gif\"" alt="\"memory" width="\"568\"" height="\"398\"">

 

where it should be

 

<img title="Moby capacity chart" src="http://www.mobymemory.co.uk/img/cms/chart.jpg" alt="">

 

as for error reporting i turned it on and nothing seemed to appear

Link to comment
Share on other sites

after a few weeks of trying to fix this issue i finally managed to solve the problem.... :)

it seems even though magic quotes was off by default it was still causing an issue so by accessing webhost manager and turning magic quotes on in Apache then saving then turning it back off it seems to have done the trick

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...