I look for in Gallery2 following possibility: Photo 1 gets banner script 1, photo 2 gets banner script 2 and so for each photo, a special banner. Is that possible? if yes, how?
thank you! maybe the following is possible: the script, which saves the edited customfields, could save the scripts in raw script and with more characters? now it replaces the "<" and ">" with "<" and >... if this would be possible to disable, comments are no risk, right? but where I have to change the script?
okay, this means, my idea doesnt work? thank you anyway ;) I use your solution!
suprsidr
Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2011-03-22 12:51
gallery filters html everywhere with htmlSafe()
so if you want raw unfiltered html anywhere you'll have to edit htmlSafe()
BUT this is a global change and will also allow raw unfiltered html everywhere including user comments
Posts: 10
tried it with custom fields but the code comes out as a text, not as an embedded javascript. any help or idea?
Posts: 8339
http://gallery.menalto.com/node/96882#comment-348236
but I'd advise disabling comments as this is a global change.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 10
thank you! maybe the following is possible: the script, which saves the edited customfields, could save the scripts in raw script and with more characters? now it replaces the "<" and ">" with "<" and >... if this would be possible to disable, comments are no risk, right? but where I have to change the script?
Posts: 8339
http://gallery.menalto.com/node/96882#comment-348236
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 10
okay, this means, my idea doesnt work? thank you anyway ;) I use your solution!
Posts: 8339
gallery filters html everywhere with htmlSafe()
so if you want raw unfiltered html anywhere you'll have to edit htmlSafe()
BUT this is a global change and will also allow raw unfiltered html everywhere including user comments
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 10
thank you very much for supporting!