2015-09-04 89 views
0

我使用Modx Gallery Extra,并尝试用phpThumbOn和phpThumbOf将图像添加到我的图像上,但没有成功!任何想法如何添加水印的图像?ModX Gallery水印

我试图

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

,也phpthumbof。

回答

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电视

w=300&h=300 - 过滤列表 - 您的输出图像

fltr[]的宽度和高度:

wmi - 水mark image

aaa.png - 水印图像源

BL - 左下(水印IMG的位置)

55 - 不透明性(55%)