Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Why only limited html in caption ?
https://www.tinywebgallery.com/forum/viewtopic.php?f=4&t=3620
Page 1 of 1

Author:  simon [ 29. Nov 2013, 03:28 ]
Post subject:  Why only limited html in caption ?

Hello, TWG looks great, but... Two questions :

1. Why is html so limited in captions ?
(I would like to put a link there. I know how to do that using the image.txt file, but it is just not convenient).

2. Is full html allowed in captions with the commercial registration ?

Thank you.

Author:  TinyWebGallery [ 1. Dec 2013, 01:23 ]
Post subject:  Re: Why only limited html in caption ?

Simply because of security issues.

If you trust all your users set
$allow_all_html_captions=true;

you can enter what you want.

You can also specify $allowed_html_tags but there only simple html tags without attributes are supported.
The link tag has attributes and therefore it cannot be added there.

Best, Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/