mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 14:03:27 +00:00
PHRAS-3580 WIP
new "watermark text" setting to subdef
This commit is contained in:
@@ -141,6 +141,9 @@ class databox_subdef
|
||||
if ($sd->watermark) {
|
||||
$image->setOptionValue(Image::OPTION_WATERMARK, p4field::isyes($sd->watermark));
|
||||
}
|
||||
if ($sd->watermarktext) {
|
||||
$image->setOptionValue(Image::OPTION_WATERMARKTEXT, $sd->watermarktext);
|
||||
}
|
||||
return $image;
|
||||
}
|
||||
/**
|
||||
|
Reference in New Issue
Block a user