-
园林景观设计类网站织梦...
-
潮流资讯信息类网站织梦...
-
车辆机油工业润滑油类网...
-
APP应用程序官网类网站织...
-
摄影拍摄短视频类网站织...
-
汽车配件类网站织梦模板...
-
环保电动扫地车类网站织...
-
农业机械设备类网站织梦...
-
水性工业漆类企业网站织...
-
办公学习教程资讯类网站...
-
LED显示屏中英双外贸类网...
-
园林绿化景观建设类网站...
-
道路护栏交通设施类网站...
-
新媒体自媒体运营资讯类...
-
水上乐园设备类网站织梦...
-
环保设备研发制造类网站...
-
中药药材百科资讯类网站...
-
网站建设营销类网站织梦...
-
灶具电器设备类网站织梦...
-
企业公司行业通用类网站...
在使用DEDECMS程序过程中,本站发现,后台开启水印功能后,有9个位置可以选择水印的位置,位置都是系统设置好的固定位置,比如想让水印图片贴边显示,如果只选择系统默认位置根本不可能靠边,我们可以任意调整水印图片的位置。
下面参考一下此教程
打开/include/image.class.php文件
查找
x = +5;$y = +5;break;case 2:$x = ($imagewidth - $logowidth) / 2;$y = +5;break;case 3:$x = $imagewidth - $logowidth - 5;$y = +5;break;case 4:$x = +5;$y = ($imageheight - $logoheight) / 2;break;case 5:$x = ($imagewidth - $logowidth) / 2;$y = ($imageheight - $logoheight) / 2;break;case 6:$x = $imagewidth - $logowidth - 5;$y = ($imageheight - $logoheight) / 2;break;case 7:$x = +5;$y = $imageheight - $logoheight - 5;break;case 8:$x = ($imagewidth - $logowidth) / 2;$y = $imageheight - $logoheight - 5;break;case 9:$x = $imagewidth - $logowidth - 5;$y = $imageheight - $logoheight -5;break
栏目从1-9,也就是水印的位置,和下表是相对应的,这里你就可以修改后面的数据修改坐标了。

比如把水印图与原图的右下角底部重合,就把第九项的两个“5”修改为“0”即可。




