As an operator who is deeply familiar with the operation of AnQiCMS, I know that website content management is not only about publishing text and images, but also about ensuring that every detail conforms to the visual experience and performance optimization of the website.When the visual strategy of the website is adjusted, for example, when it is necessary to unify the thumbnail size to adapt to the new design style, the batch thumbnail regeneration function provided by AnQiCMS becomes particularly important.This can help us efficiently update the visual presentation of the website without manually handling each one.


Batch regenerate AnQiCMS website thumbnails: to adapt to new size settings

In the AnQiCMS content management system, thumbnails are an indispensable part of website content display.They are presented in various scenarios such as list pages, recommended positions, search results, etc., directly affecting users' initial perception and willingness to click on the content.With the iteration of website design or adjustment of operational strategies, we often encounter situations where we need to change the thumbnail display size.For example, to improve the loading speed of the website, we may need smaller thumbnails;Or to adapt to higher resolution screens, we need clearer thumbnails.In AnQiCMS, it is a convenient and efficient operation to batch regenerate all thumbnails of the website to adapt to the new size settings.

The size and processing method of the website thumbnail are统一 configured in the "Content Settings" of the AnQiCMS backend.Here, you can finely control the thumbnail generation logic.In particular, there are several key settings that we need to pay attention to:

FirstlyThumbnail Processing MethodThis determines how the system generates thumbnails based on the original image. AnQiCMS provides three mainstream processing methods:

  • Scale proportionally to the longest sideThis method maintains the original aspect ratio of the image, ensuring that the thumbnail does not distort and that all sides of the image are displayed completely.The system will resize the longest side of the image to the target size, adjusting the other side proportionally.
  • Fill the longest sideIf you need a thumbnail with fixed width and height without cropping the image content, this method is very suitable.The image will be centered in the specified size area, and the insufficient part will be filled with white (or other preset color) to achieve the specified thumbnail size.
  • Trim according to the shortest edge: When you need to strictly control the thumbnail size and want the image to always fill the specified area, you can choose this method.The system will use the center point of the image as a reference, and resize the "shortest side" of the image to the specified size, while cropping off the excess part of the "longest side".

Next isThumbnail sizeYou can set specific width and height according to the actual needs of the front-end page.We recommend you set an appropriate size, which not only optimizes the image volume, reduces storage space occupancy, but also accelerates the page loading speed, thus enhancing the user's browsing experience.

After adjusting the dimensions and processing methods, the new images uploaded to the website will be automatically generated as thumbnails according to the new settings.However, for the thumbnails of images that already exist on the website and were previously generated at the old size, they will not update automatically.This, AnQiCMS'batch regenerate thumbnailsThe function comes into play.

To perform this operation, you just need to go to the AnQiCMS background and click sequentiallyBackend settingsand then selectContent settings. At the bottom of the page, you will find the option to 'batch regenerate thumbnails'.Click this feature, the system will regenerate thumbnails for all uploaded images on the website based on the thumbnail processing method and size you have defined in the 'Content Settings'.This is an operation that spans the entire site, aimed at ensuring the visual consistency of all content.Before performing this operation, please make sure you have saved all the new thumbnail size and processing method settings.

When performing batch regeneration operations, there are some **practical points to note.For websites with a large amount of image content, this process may consume some server resources and time, depending on the total number of your images and server performance.It is recommended to perform this operation during low traffic periods on the website to avoid unnecessary impact on user experience.Always, it is recommended to back up the data before making any major configuration changes, just in case.

Through this powerful feature provided by AnQiCMS, website operators can easily meet the needs of website visual adjustments, ensuring that the website always presents to users with **visual effects and loading performance, thereby effectively enhancing the attractiveness and user retention rate of the website.


Frequently Asked Questions (FAQ)

Ask: Can I regenerate thumbnails for specific articles or categories instead of the entire site?

Answer: The current batch re-generation thumbnail feature of AnQiCMS is a global operation, it will update all the thumbnails of the uploaded images according to the latest size and processing method you define in the "Content Settings".If you need to make local adjustments for specific content, you may consider uploading the image separately or manually handling the relevant logic.

Ask: How long does it take to regenerate thumbnails in bulk? Will it affect website access?

The time it takes to regenerate depends on the total number of images on your website and the server's performance.The more images there are, the lower the server configuration, and the longer the time required.On large-scale websites, this may exert some pressure on the server's CPU and disk I/O.It is recommended to perform this operation during low-traffic, off-peak hours on the website to minimize the impact on user access experience as much as possible.

Ask: Do I need to manually execute 'Batch regenerate thumbnails' every time I upload a new image?

Answer: No need. Once you have configured the thumbnail size and processing method in the 'Content Settings', all newly uploaded images will be automatically generated according to these latest settings.Only when you change these settings, do you need to use the 'Batch regenerate thumbnails' feature to update the existing old thumbnails on the website.