Ignore Empty image src
-
- Phoca Newbie
- Posts: 1
- Joined: 09 Jan 2015, 05:59
Ignore Empty image src
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 ?
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Ignore Empty image src
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
The question is, why you are using img tags when they have no src tags?
Jan
If you find Phoca extensions useful, please support the project