文字水印选项设置好后,还要查找自己喜欢的字体,例如:PAPYRUS.TTF,并拷贝到
\data\mark\
然后打开\include\helpers\image.helper.php
然后修改 第205 207行 simhei.ttf为PAPYRUS.TTF
if($photo_marktype == '2')
{
if(file_exists(DEDEDATA.'/mark/simhei.ttf'))
{
$cfg_watermarktext['fontpath'] = DEDEDATA.'/mark/simhei.ttf';
}
else
{
return ;
}
DEDE v5.7 sp1 字体水印颜色
打开 \include\helpers\image.helper.php 第217行
$cfg_watermarktext['color'] = '255,255,255';
$cfg_watermarktext['shadowx'] = '0';
$cfg_watermarktext['shadowy'] = '0';
$cfg_watermarktext['shadowcolor'] = '0,0,0';
$photo_marktrans = 85;
改成
$cfg_watermarktext['color'] = $photo_fontcolor;
$cfg_watermarktext['shadowx'] = '1';
$cfg_watermarktext['shadowy'] = '1';
$cfg_watermarktext['shadowcolor'] = '176,125,0';
$photo_marktrans = 85;
//图像清晰度 100