Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Solve the problem that phpcms does not support thumbnails and watermarks

2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 214

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report