diff --git a/doc/config.html b/doc/config.html index 75e1e6b4..bbbb902e 100755 --- a/doc/config.html +++ b/doc/config.html @@ -976,6 +976,9 @@ if the file name starts with a "/" (Unix) or interactively with the image manipulation buttons:

+ + Setting Thumbnail size = 0 turns off the thumbnail + creation.


diff --git a/src/elogd.c b/src/elogd.c index 43631369..18aa87a7 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -22853,9 +22853,11 @@ int create_thumbnail(LOGBOOK * lbs, char *file_name) if (!image_magick_exist) return 0; - if (getcfg(lbs->name, "Thumbnail size", str, sizeof(str))) + if (getcfg(lbs->name, "Thumbnail size", str, sizeof(str))) { + if (strcmp(str, "0") == 0) + return 0; sprintf(thumb_size, " -thumbnail '%s'", str); - else + } else thumb_size[0] = 0; if (!chkext(file_name, ".ps") && !chkext(file_name, ".pdf") && !chkext(file_name, ".eps")