Home  >  Article  >  CMS Tutorial  >  What should I do if dedecmsV5.5 pictures cannot be uploaded with watermarks?

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

藏色散人
藏色散人Original
2019-11-18 11:19:152356browse

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!

Statement:
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