Added image info option to admin, changed the info template parser to not use the url-escaped option

This commit is contained in:
Matthew Barbour
2020-08-28 09:41:25 -05:00
parent 988bc831b2
commit 4c5ef85906
3 changed files with 15 additions and 1 deletions

View File

@@ -252,6 +252,7 @@ class ImageIO extends Extension
//$sb->add_text_option(ImageConfig::ILINK, "Image link: ");
//$sb->add_text_option(ImageConfig::TLINK, "<br>Thumbnail link: ");
$sb->add_text_option(ImageConfig::TIP, "Image tooltip", true);
$sb->add_text_option(ImageConfig::INFO, "Image info", true);
$sb->add_choice_option(ImageConfig::UPLOAD_COLLISION_HANDLER, self::COLLISION_OPTIONS, "Upload collision handler", true);
if (function_exists(self::EXIF_READ_FUNCTION)) {
$sb->add_bool_option(ImageConfig::SHOW_META, "Show metadata", true);