diff options
| author | Cash Costello <cash.costello@gmail.com> | 2009-07-12 01:27:26 +0000 |
|---|---|---|
| committer | Cash Costello <cash.costello@gmail.com> | 2009-07-12 01:27:26 +0000 |
| commit | 6f542ab26ea4bc65ae33a691802d233d8dafa592 (patch) | |
| tree | ad5eef7a8628e4807fd0aa52e1b138c86cc0ea27 /lib/resize.php | |
| parent | 533231ec979a907cab73e27013da5f9d69b22121 (diff) | |
| download | elgg-6f542ab26ea4bc65ae33a691802d233d8dafa592.tar.gz elgg-6f542ab26ea4bc65ae33a691802d233d8dafa592.tar.bz2 | |
cleaned up the command line watermarking code
Diffstat (limited to 'lib/resize.php')
| -rw-r--r-- | lib/resize.php | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/resize.php b/lib/resize.php index a379d8c93..894a68fff 100644 --- a/lib/resize.php +++ b/lib/resize.php @@ -66,6 +66,8 @@ if (!$rtn_code)
return false;
$file->largethumb = $prefix."largethumb".$filestorename;
+
+ tp_gd_watermark($thumbname);
unset($thumb);
@@ -252,6 +254,8 @@ if (!$rtn_code)
return false;
$file->largethumb = $prefix."largethumb".$filestorename;
+
+ tp_imagick_watermark($thumbname);
unset($thumb);
@@ -422,9 +426,9 @@ return false;
$file->largethumb = $prefix."largethumb".$filestorename;
-
- //tp_watermark($thumbs);
-
+
+ tp_imagick_cmdline_watermark($thumbname);
+
unset($thumb);
|
