As a website operator who is well-versed in the operation of AnQiCMS, I know that website content management is not just about publishing text and images, but also ensuring that every detail conforms to the visual experience of users and the optimization of website performance.When the visual strategy of the website is adjusted, such as when it is necessary to unify thumbnail sizes to accommodate the new design style, the batch thumbnail regeneration feature 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: Adapt to new size settings

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

The size and processing method of the website thumbnail are unifiedly configured in the 'Content Settings' of AnQiCMS backend.Here, you can finely control the thumbnail generation logic.

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

  • Scale proportionally by the longest sideThis method will maintain the original aspect ratio of the image, ensuring that the thumbnail does not distort and that all sides of the image are fully displayed.The system will resize the image's 'longest side' to the target size according to the set target dimensions, and the other side will be automatically adjusted in proportion.
  • Scale proportionally by the longest side with paddingIf 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 colors) to achieve the specified thumbnail size.
  • [en] : Crop to the shortest edge.

ThenThumbnail size

Batch regenerate thumbnailsThe function comes into play.

To perform this operation, you just need to go to the AnQiCMS backend and click through依次Backend settingsthen selectContent Settings.At the bottom of the page, you will find the option '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 'Content Settings'.This is an operation across the entire site, aimed at ensuring visual consistency of all content.Please make sure you have saved all new thumbnail size and processing settings before performing this operation.

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

With 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 ** visually appealing and fast loading performance, thereby effectively enhancing the website's attractiveness and user retention rate.


Common Questions (FAQ)

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

Answer: The batch thumbnail regeneration feature of AnQiCMS is a site-wide operation, which will update the thumbnails of all uploaded images according to the latest size and processing method you defined in 'Content Settings'.If you need to make local adjustments to specific content, you may need to consider uploading the image separately or manually handling the related logic.

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

Answer: The time it takes to regenerate depends on the total number of images on your website and the performance of the server.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.Suggest performing this operation during off-peak hours with low website traffic to minimize the impact on user access experience as much as possible.

Question: 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 new uploaded images will automatically generate thumbnails according to these latest settings.Only when you have changed these settings do you need to use the 'Batch regenerate thumbnails' feature to update the existing old thumbnails on the website.