ZenphotoCMS Forum
Using getCustomImage does not validate for XHTML - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Using getCustomImage does not validate for XHTML (/thread-587.html)



Using getCustomImage does not validate for XHTML - Stephane - 2006-06-12

I am using the getCustomImage and printCustomAlbumThumbImage functions in my theme which seem to cause problems when trying to validate for XHTML.

The problem seems to be a result of the ampersand character being used in the URL.

Check it out here:
http://s.angoulvant.net/

You can try validating by clicking XHTML at the bottom of the page.


Using getCustomImage does not validate for XHTML - Stephane - 2006-06-12

Fixed.

I replaced the ampersands lines 258-261 of classes.php for `function getCustomImage`, by the code `&`.

Everything seems to work great however this should be fixed in the next release...


Using getCustomImage does not validate for XHTML - Skwid - 2006-06-12

Oh nice, I'm glad my intuitions were right Smile


Using getCustomImage does not validate for XHTML - bbish007 - 2006-07-16

@Stephane - Thanks very much for this, I was having the same issue. Great site BTW.


Using getCustomImage does not validate for XHTML - carasmo - 2007-06-11

Thank You!