ZenphotoCMS Forum
HTML code in image description - 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: HTML code in image description (/thread-3133.html)



HTML code in image description - macalter - 2008-06-20

svn1734
Up to now I've used basic HTML within the description without the turning into > etc. What's happening?
Also, can I use or (not sure which) to force break in line? I'm also not able to do a carriage (paragraph) return for the first time.




HTML code in image description - acrylian - 2008-06-20

That is true and my "fault". I made recently a printCustomImagedata() function where you can use normal line breaks without using html as in those desc functions to accompany getCustomImageData(). For that I used the printImageDesc()/printIAlbumDesc()function and found a minor error in the code of those that I actually just corrected... That was in svn 1711. To get the old way back you just need to replaceprintImageDesc()withecho getImageDesc()` in your theme files and html markup works again. Same for the albumdesc. Sorry for the inconvenience.




HTML code in image description - macalter - 2008-06-20

Thanks. I was betting you'd say I didn't close my tags

my code in image.php is
``

replace with
`` resulted in description not being editable at all. Went back to older files and see the printImageDesc in use.




HTML code in image description - acrylian - 2008-06-21

True, getImageDesc() is not editiable on the go (and never was)... I will look at those functions again, maybe my error correction in printImagedesc()was nonsense at all..:-)

EDIT: It has been reverted to the old funcionality in svn 1753