Access the image auto-processing settings

All configurations related to automatic image processing are concentrated in the background content settings of Anqi CMS.To access these settings, you need to log in to the admin interface, then navigate to “Background Settings”, and select “Content Settings” from the left menu.In this area, you will find all options related to image processing.

WebP图片格式的启用与管理

WebP is a modern image format developed by Google, which can provide smaller file sizes than traditional formats such as JPEG and PNG, while maintaining similar or better visual quality.Enable WebP format can significantly improve the loading speed of the website, especially for pages with many images.

In "Content SettingsWhen you enable this feature, all new uploaded JPG and PNG images will be automatically converted to WebP format.This means that after you turn on this feature, your photo library will gradually fill with optimized WebP images.

自动压缩大图的配置

The website often uploads high-resolution large-size images, which, if used directly without processing, will consume a large amount of bandwidth and slow down the page loading speed.The Anqi CMS provides the function of automatically compressing large images to solve this problem.

The 'Whether to automatically compress large images' option allows you to control whether the system compresses the size of the uploaded images.By default, this feature is turned off.Once enabled, the system will automatically compress the uploaded images to the specified width.The default compression width is 800 pixels, but you can adjust this value according to the actual needs of the website in the 'Auto-compress to specified width' input box.It should be noted that image compression is done by proportional scaling based on the width, which means the height of the image will automatically adjust according to the original proportion, and no image distortion will occur.This feature helps reduce storage space usage while improving the loading efficiency of images on web pages.

缩略图生成策略与尺寸管理

Thumbnail is an indispensable element in the display of website content lists, and its size and generation method directly affect the layout and visual effects of the page.The AutoCMS provides flexible thumbnail processing options to meet different design requirements.

在“缩略图处理方式”中,系统提供了三种核心策略:

  • Scale proportionally by the longest sideThis way ensures that all sides of the image are displayed completely.The system will resize the longest side of the image to fit the target size proportionally, and adjust the other side accordingly.This thumbnail will make full use of space and completely display the image content.
  • Scale proportionally by the longest side with padding
  • [en] : Crop to the shortest edge.This method will crop the image to fill the thumbnail size set.The system will crop the longer edge of the image to match the shorter edge, thereby generating a thumbnail that completely fills the target size.This method is commonly used for thumbnails that require a uniform visual ratio (such as squares), but may lose some information at the edges of the image.

Configure the processing method first, then you need to set the specific width and height in "Thumbnail Size" to precisely control the output size of the thumbnails.Suggest setting appropriate sizes according to the design requirements of the front-end page to avoid generating too large or too small thumbnails, which may affect user experience.

In addition, the 'Default Thumbnail' option allows you to upload a backup image.When the thumbnail is not specified, the system will use this default image for display to ensure that the website maintains good visual integrity under all circumstances.

The "Batch regenerate thumbnails" feature becomes particularly important after you modify the thumbnail processing method or size.Through this feature, you can one-click regenerate thumbnails of all existing images on the website to match the latest configuration, thus avoiding the麻烦 of manual operations and ensuring the uniformity of thumbnails across the entire site.

Operation suggestions

Common Questions and Answers (FAQ)

  1. Do my previously uploaded images get automatically converted to WebP format after enabling the WebP feature?Enable WebP feature after, only the images uploaded after this setting takes effect will be converted to WebP format by default.For previously uploaded images, you need to find and use the 'WebP conversion tool' or 'batch regenerate thumbnails' feature on the 'Content Settings' page to perform batch conversion or regeneration, thereby applying the WebP format.
  2. Is the 'specified width' of auto-compressing large images set to 800px, will my picture become an 800px x 800px square?Would not.The auto-compression large image feature compresses the image based on the specified width you set and maintains the original aspect ratio of the image for proportional resizing.For example, if your original image is 1600px wide and 1200px high, setting the width to 800px will result in an image that is 800px wide and 600px high, without changing the image ratio or forcing it into a square.
  3. In what circumstances should you choose the 'crop by shortest edge' thumbnail processing method?