ModX Gallery水印

时间:2015-09-04 16:26:02

标签: modx watermark

我使用Modx Gallery Extra并尝试使用phpThumbOn和phpThumbOf将水印添加到我的图像上但没有成功!知道如何在图像上添加水印吗?

我试过

[[+image_absolute:phpthumbon=`w=800&h=450&zc=1&fltr[]=wmi|assets/img/watermark.png|BL|40|3|3|0`]]

还有phpthumbof。

1 个答案:

答案 0 :(得分:0)

PhpThumbOf(http://phpthumb.sourceforge.net/demo/demo/phpThumb.demo.demo.php):

<img src="[[*tvimg:phpthumbof=`w=300&h=300&fltr[]=wmi|aaa.png|BL|55`]]" />

tvimg - 你的img TV

w=300&h=300 - 输出图像的宽度和高度

fltr[] - 过滤列表:

wmi - 水印图片

aaa.png - 水印图片来源

BL - 左下角(水印img的位置)

55 - 不透明度(55%)