Home > Article > CMS Tutorial > 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!