hi
it is not possible for now.
I will consider it, but it seems to not look very nice.
maybe an "on over" display of titles will be better.
stay tuned...
yes of course, I know how to do.
maybe I'm wrong, but I think the result may not have a very good "look and feel"
You can extend the PHP code. All PHP is allowed.
[code][/code]
EDIT: OK, it's a conflict with HTML code about the ``````.
Is that also possible?
[code][/code]
Then you can style it.
EDIT: OK, it's a conflict with HTML code about the ``````.
I prefer this for the descriptions.
[code][/code]
This will take over the descriptions 1:1 from the editor. There are no necessary. Line breaks are automatically converted to . This makes writing the descriptions easier. In addition, HTML code is still possible, also ```
But, unfortunately, every HTML tag with `````` causes problems with the method of grabbing the text from the HTML img tag title. A better method would be the description in a div box with ```display:none``` to write and extract from it with JavaScript.
@lerdna
Solution: use htmlspecialchars(). It's more secure. Don't destroy the HTML validation.
[code][/code]
or
[code][/code]
However, you can then use no HTML code in the description, because every HTML code is striped / converted.
Look here for more Info:
http://php.net/manual/en/function.htmlspecialchars.php
http://php.net/manual/en/function.strip-tags.php
Zenphoto actually has some internal functions for output encoding of text fields like that does not destroy html:
http://docs.zenphoto.org/function-html_encode.html
There are also some sanitize functions for sensitive data.
Also all bare functions already clear html by definition (to be use for example within attributes of html elements). No need to strip tags again actually. htmlspecialchars of course can make sense if you need to be sure that special chars work in your encoding used.