Hello,
I am trying to add some logos to footer on my website to give some credit. But I cannot add my image string on the Advanced options of Custom footer HTML. It is showing me this error
“Warning: Global attribute ‘*’ is not supported in any elements (for information on implementing this, see the support forums) in /var/www/html/application/libraries/htmlpurifier/HTMLPurifier/HTMLDefinition.php on line 390”
How can I allow my image string here and add the logos?
This sounds like there’s an issue in your security settings (Settings -> Security). What do your Allowed HTML Elements and Allowed HTML Attributes settings look like? This warning message you posted is related to the attributes setting.
Hmm, the settings don’t seem to match up with that error message.
At any rate, you don’t have this configured to allow image tags: you’d need to add img to the Elements list, and minimally img.src to the attributes list (as well as any other attributes the tag you’re trying to insert uses).
It is now viewing the text in footer but not showing any image. I added the image in Appearance->Configure Theme-> Advanced tab -> Custom Footer in HTML -> example text for image <img src="img_girl.jpg" alt="Girl in a jacket">
Is there anything more that I need to do to view the logo in footer.
So, does the src actually point to an image URL that exists? Your simple example just shows a filename; for something that will actually work you’d have a more complex absolute URL there.