1:打开sourcefunctionfunction_post.php
2:查找- $$$$image->Watermark($$$$_G['setting']['attachdir'].'/forum/'.$$$$newattachfile[$$$$aid], '', 'forum');
复制代码 在以上代码添加3:查找- C::t('forum_attachment_unused')->delete($$$$aid);
复制代码 在以上代码添加- // 缩略图打水印
- if (file_exists($$$$_G['setting']['attachdir'] . '/forum/' . $$$$attach['attachment'] .
- '')) {
- $$$$image->Watermark($$$$_G['setting']['attachdir'] . '/forum/' . $$$$attach
- ['attachment'] . '', '', 'forum');
- }
- // 缩略图打水印结束
复制代码 修改完毕:演示http://www.jatxh.cn |