Home > CMS Tutorial > DEDECMS > body text

What should I do if dedecmsV5.5 pictures cannot be uploaded with watermarks?

藏色散人
Release: 2019-11-18 11:19:15
Original
2360 people have browsed it

What should I do if dedecmsV5.5 pictures cannot be uploaded with watermarks?

dedecmsV5.5 What should I do if I cannot add a watermark to the image upload?

Today when I was adding pictures to a new site, I found that the pictures uploaded locally did not add watermarks. I had already opened the pictures in the background to add watermarks. Later I found that it was not a problem with the settings at all, and finally found a solution. .

Recommendation: "dedecms usage tutorial"

The method is as follows:

Open the file "dede\swfupload.php" and search for "//WaterImg( $cfg_basedir.$fileurl, 'up');" or locate line 100.

//WaterImg($cfg_basedir.$fileurl, 'up');

Just remove the "//" in front.

The above is the detailed content of What should I do if dedecmsV5.5 pictures cannot be uploaded with watermarks?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!