Solve the problem that phpcms does not support thumbnails and watermarks
Solve the problem that phpcms does not support thumbnails and watermarks? This problem may be often seen in our daily study or work. I hope you can gain a lot from this question. The following is the reference content that the editor brings to you, let's take a look at it!
What if phpcms does not support thumbnails and watermarks
Thumbnails and watermarks are not supported when PHPCMS is installed by default
After asking the master, it turned out to be like this:
Remove the ";" before the "extension=php_gd2.dll" section of the installation directory file: Apache2\ bin\ php.ini!
(recommended: phpcms tutorial)
How to add watermark function:
1. Check the server parameters first.
Graphics processing GD Library this option is not supported.
This can be seen as soon as I enter the background management.
The one set above, if not supported, can restart the web server.
2. System settings-basic configuration-graphics processing
Watermark type: text watermark or picture watermark
When the type is text watermark, you need to fill in the text of the watermark.
And be sure to copy the text font file to the class/fonts/ folder.
The default class/fonts/simhei.ttf is the font file.
You can find the font you want in the font library under the widows operating system.
Chinese fonts must use Chinese font files.
When set to picture watermark, you need to upload the picture of the picture watermark. The watermark image needs to be a static gif image, or jpg. Dynamic pictures are not allowed.
Thank you for reading! After reading the above, do you have a general understanding of solving the problem that phpcms does not support thumbnails and watermarks? I hope the content of the article will be helpful to all of you. If you want to know more about the relevant articles, you are welcome to follow the industry information channel.