As a senior security CMS website operator, I am well aware of the importance of the quality and loading speed of website content to user experience and search engine optimization.Images are an important part of a website's content, and their handling strategy is of great importance.In response to the question you raised regarding whether Anqi CMS can set different compression strategies for different types of images, I will elaborate in detail on the functional features of Anqi CMS for you.

In Anqi CMS, image optimization is not simply setting different compression qualities based on file types (such as JPG, PNG), but rather through a more comprehensive and practical strategy to enhance image efficiency.This strategy primarily focuses on image format conversion, size control, and thumbnail generation methods, aiming to globally optimize the loading performance and storage space of website images.

Secondly, for the original large image uploaded, AnQi CMS provides automatic size compression functionality.When the image file size is large, the system can automatically resize it proportionally based on the preset width limit.This feature aims to reduce server storage space usage and ensure that even original images that have not been resized can be loaded more efficiently.Users can enable this feature in the "Content Settings" and set a target width (default 800 pixels), the system will compress all large images that meet the conditions according to this width.This compression mainly focuses on the uniformity and reduction of image size to meet the display requirements of web pages, rather than directly adjusting the image quality parameters.It applies to all types of original large images, to unify their maximum display size.

Finally, Anqi CMS provides a more refined control strategy for generating thumbnails to meet the needs of different content displays. The system supports three main thumbnail processing methods, which can be considered as strategies for different 'use types' (i.e., thumbnails):

  • Scale proportionally to the longest side:
  • Pad to the longest edge:
  • Trim to the shortest edge:

The operation personnel can flexibly select these thumbnail processing methods in the "Content Settings" and specify the specific thumbnail size.These strategies are designed specifically for thumbnails of different purposes, such as list display, cover images, etc., to balance visual effects and loading performance.


Frequently Asked Questions (FAQ)

Q1: Does AnqiCMS support setting different compression quality percentages for JPEG and PNG files?

Q2: After enabling the WebP format conversion, what changes will the original JPG/PNG images undergo?

Q3: Whether the thumbnail settings will affect the size or quality of the original uploaded image?The thumbnail settings of AnqiCMS are based on generating new, processed small-sized images from the original image.These settings (such as zoom, cropping method, and target size) will not directly modify the original large image file you upload.The original image will be processed according to the "Automatic Compression of Large Image" rules, while the thumbnail will be generated based on its independent settings, and both are mutually independent but related versions of the image.