Page 1 of 1

Ignore Empty image src

Posted: 09 Jan 2015, 06:04
by akrys
If I have empty image src ="" for example - The pdf will not render with error unable to get image of course. I used .remove jquery however the PDF still sees this html. if I remove the offending <img src""> from the joomla content table of the article in question . The PDF renders find. Is there a way to set it to just ignore images without a src ?

Re: Ignore Empty image src

Posted: 12 Jan 2015, 21:19
by Jan
Hi, I think some preg replace function needs to be set - to find the images with empty src and replace them whole by e.g. empty space.

The question is, why you are using img tags when they have no src tags?

Jan