aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ws_functions.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php
index 08c3394af..110c7f4c6 100644
--- a/include/ws_functions.inc.php
+++ b/include/ws_functions.inc.php
@@ -2752,7 +2752,7 @@ SELECT id, path, tn_ext, has_high
}
$result = false;
- $img = new pwg_image($hd_path);
+ $img = new pwg_image($hd_path, $params['library']);
$result = $img->pwg_resize(
$image_path,