Only show thumb_convert_path if using ImageMagick
This commit is contained in:
parent
a2e1edded5
commit
624468851e
@ -264,8 +264,11 @@ class ImageIO extends Extension {
|
|||||||
$sb->add_label(" px at ");
|
$sb->add_label(" px at ");
|
||||||
$sb->add_int_option("thumb_quality");
|
$sb->add_int_option("thumb_quality");
|
||||||
$sb->add_label(" % 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") {
|
if($config->get_string("thumb_engine") == "gd") {
|
||||||
$sb->add_shorthand_int_option("thumb_mem_limit", "<br>Max memory use: ");
|
$sb->add_shorthand_int_option("thumb_mem_limit", "<br>Max memory use: ");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user