Only show thumb_convert_path if using ImageMagick
This commit is contained in:
parent
a2e1edded5
commit
624468851e
1 changed files with 5 additions and 2 deletions
|
@ -264,8 +264,11 @@ class ImageIO extends Extension {
|
|||
$sb->add_label(" px at ");
|
||||
$sb->add_int_option("thumb_quality");
|
||||
$sb->add_label(" % quality ");
|
||||
$sb->add_label("<br>ImageMagick Binary: ");
|
||||
$sb->add_text_option("thumb_convert_path");
|
||||
|
||||
if($config->get_string("thumb_engine") == "convert") {
|
||||
$sb->add_label("<br>ImageMagick Binary: ");
|
||||
$sb->add_text_option("thumb_convert_path");
|
||||
}
|
||||
|
||||
if($config->get_string("thumb_engine") == "gd") {
|
||||
$sb->add_shorthand_int_option("thumb_mem_limit", "<br>Max memory use: ");
|
||||
|
|
Reference in a new issue