How to configure the image processing method (Webp, compression, thumbnail) in AnqiCMS content settings to optimize front-end loading speed and display quality?

Calendar 👁️ 99

In the era where content is king, the loading speed and display quality of website images have a significant impact on user experience and search engine optimization (SEO).A series of exquisite pictures, if they load slowly or are blurry, not only will they deter visitors, but may also affect the website's ranking in search engines.luckyly, AnqiCMS provides a series of powerful and flexible image processing functions to help us easily deal with these challenges.

Next, we will delve deeper into how to cleverly configure the image processing method in AnqiCMS content settings, including WebP format conversion, intelligent compression, and diversified thumbnail generation, making your website images both 'lightweight' and 'high-definition'.

Enter the picture settings: Find the optimized "Command Center"

To configure these image processing features, we first need to enter the AnqiCMS admin interface.In the left menu bar, find and click on "Background Settings", then select "Content Settings".This is the concentration of all image processing options, and also the 'command center' for optimizing the website's image performance.

1. Enable WebP format: Trim and speed up image loading

WebP is a modern image format developed by Google, providing excellent image quality with extremely high compression rates, usually 25-34% smaller than JPEG, and 26% smaller than PNG.This means that while ensuring the clarity of the image, the file size is greatly reduced, thereby significantly speeding up the web page loading speed.

In the "Content Settings", you will see an option named "Whether to enable Webp image format".If you want the website to automatically convert uploaded JPG, PNG and other images to WebP format, just check the 'Enable' option.

It is worth noting:

  • New automatic image conversion feature:After enabling this feature, all newly uploaded images will be automatically converted to WebP format.
  • Batch processing of existing images:For images uploaded before enabling WebP format, AnqiCMS also very considerately provides a "webp conversion tool".You can use this tool to batch convert all the existing images on the site, so that historical content can also enjoy the optimized effects brought by WebP.

By converting to WebP, your website images can maintain visual appeal while greatly reducing the server burden and improving user access speed.

2. Smart Image Compression: Say goodbye to bulky original images

We all know that many times, the original images provided by designers, or high-definition photos taken with mobile phones or cameras, are very large in file size, and uploading them directly to a website will seriously slow down the loading speed.The intelligent image compression function of AnqiCMS is born to solve this problem.

In the "Content Settings", find the option for "Whether to automatically compress large images".If you enable this feature, AnqiCMS will automatically compress large images when uploading pictures.

  • Automatically compress to a specified width: After you enable the large image compression, you will see an 'Auto-compress to specified width' box.The default value is 800 pixels in width. This means that if the original width of your image exceeds 800 pixels, the system will automatically compress it to 800 pixels in width, while also proportionally adjusting the height.You can flexibly adjust this width value according to the actual design and content display needs.For example, if the maximum width of your article's main content area is 1200 pixels, setting the compression width to 1200 pixels or slightly smaller will allow you to achieve a smaller file size while ensuring the clarity of the image.

This feature allows you to process each image manually without, AnqiCMS will silently complete the optimization work in the background, making your website images clear and quick to load.

3. Flexible thumbnail processing: balancing detail and speed

Thumbnails play an important role on websites, they are usually used on list pages, recommendation spots, or content summaries to quickly display an overview of the content in small-sized images, save bandwidth, and maintain a tidy page layout. AnqiCMS provides three ways to process thumbnails to meet different design needs:

  • Scale proportionally to the longest side:This method will resize the longer side of the image to the specified length based on the thumbnail size you set, and the other side will be scaled proportionally.The advantage is that it can display all the content of the image completely, without any cropping or missing.If your design requires that the image be presented in its entirety, this is a good choice.
  • Pad to the longest edge:If you need to strictly fix the width and height of the thumbnail while also wanting to display the entire image content, then 'padding to the longest side' is the ideal solution.AnqiCMS will resize the image to fit within the specified dimensions. If the image is not large enough to fill the entire area, the remaining part will be filled with a white background to center the image.This helps maintain visual consistency of the image area.
  • Trim to the shortest edge:This method will resize the shorter side of the image to the specified length, then crop the longer side to center it, filling the entire thumbnail area.Its advantage is that it can ensure that the thumbnail completely covers the specified size without any white space.But the drawback is that it may cut off part of the content at the edge of the image. If your design is more focused on the fillability of the image and the main content is centered in the image, you can choose this method.

配合thumbnail processing method, there are several key settings:

  • Thumbnail size:You can set an appropriate thumbnail size according to the actual display requirements of the website's front-end page.For example, article lists are usually set to 200x150 pixels, while product lists may require 300x300 pixels.An appropriate size can effectively reduce image size and avoid wasting bandwidth.
  • Default thumbnail: This is a very practical feature. If the document you publish does not upload a specific thumbnail, AnqiCMS will automatically use the default thumbnail set here to display instead, which helps to unify the visual style of the website and avoid blank or inconsistent image placeholders.
  • Batch regenerate thumbnails:When you modify the thumbnail processing method or size, you may need to regenerate thumbnails of previously uploaded images according to the new settings.Now, you can use the 'Batch regenerate thumbnails' feature, AnqiCMS will automatically update thumbnails for all old images with one click, without manual operation, which is very convenient.

Content operation tips: the synergistic effect of image optimization

In addition to the above core image processing configuration, there are also two related options in the "Content Settings" that can also bring convenience to your content operation:

  • Do you want to download remote images:If you reference external link images in your article, enable this option, AnqiCMS will automatically download these remote images to your local server on the website.This helps improve the stability of image loading and prevent external link failures from causing the image to not display.
  • Does it automatically filter external links:If you do not want external links to appear in the content, you can enable this feature. AnqiCMS will automatically remove external links when publishing documents, or add external links torel="nofollow"Tags, this may be helpful for the SEO strategy of some sites.

By reasonably configuring the image processing function of AnqiCMS, you can not only significantly improve the loading speed of the website, enhance the user experience, but also optimize the website's SEO performance, providing high-quality visual content for search engines.These intelligent processing methods make content creation and operation more worry-free and efficient.


Frequently Asked Questions (FAQ)

Q1: I modified the image processing settings of the AnqiCMS backend, but the images on the front page seem to have not changed. Why is that?

A1:This situation usually occurs due to browser cache or AnqiCMS system cache.First, you can try clearing your browser cache and forcing the browser to reload the latest images.Secondly, AnqiCMS also has a caching mechanism, you can find the "Update Cache" feature in the left menu bar of the backend, click to execute, and clear the system cache.If you modify the settings for WebP or thumbnails and want the changes to take effect on the old images uploaded, you must use the "WebP Conversion Tool" or the "Batch Regenerate Thumbnails" feature.

Q2: What kind of website is more suitable to enable WebP and image auto-compression features?

A2:Almost all websites recommend enabling WebP and automatic image compression.Especially websites with a large number of images and frequent content updates (such as news information, blogs, e-commerce product displays, photography portfolios, etc.), as well as websites with high requirements for mobile loading speed.These optimizations can significantly reduce the size of image files, speed up page rendering, thereby improving user experience and the friendliness of mobile access, and is also very beneficial for SEO.

Q3: How should I choose among the three thumbnail processing methods?

A3:Choose which thumbnail processing method to use, mainly depending on your website design style and content display requirements:

  • **By longest side

Related articles

How to display friendly information to users on the front end during the website maintenance period of AnqiCMS's 'Shutdown Prompt' feature?

In website operations, we all understand the importance of maintenance work.Whether it is system upgrade, data migration, or solving emergency faults, the website will always have a period of time when it has to be "offline".However, how to ensure the smooth progress of maintenance work during this special period, while minimizing the impact on user experience and not damaging the professional image of the website, this is indeed a problem worthy of deep thought.The "Shut Down Prompt" feature of AnQiCMS (AnQiCMS) is specifically designed to address this pain point, allowing us to communicate information to the front desk users in a friendly and clear manner

2025-11-09

How to correctly display the independent content of each site on the front page of the multi-site management function of AnqiCMS?

In today's digital environment, many businesses and individuals need to manage multiple websites, whether it be different brand sites, product sub-sites, or multilingual versions for different markets.A system that can efficiently handle content across multiple sites is particularly important to meet such demands.The multi-site management feature of AnqiCMS is exactly for this purpose, it allows you to easily manage multiple websites from a single backend, while ensuring that each site can independently and correctly display its exclusive content on the front page.### The core advantages of AnqiCMS multi-site management First, let's understand

2025-11-09

How does AnqiCMS ensure that mathematical formulas and flowcharts can be displayed correctly on the front end after enabling the Markdown editor?

Today, with the increasing diversity of content creation, websites not only carry text and images, but also often need to display complex mathematical formulas or intuitive flowcharts.For those who use AnqiCMS, the good news is that the system has built-in powerful Markdown editor support, and with simple configuration, it can ensure that these professional contents are perfectly presented on the website front-end.Below, let's take a look at how to operate, making your website content richer and more professional.

2025-11-09

How to implement template inheritance using the extends tag in AnqiCMS templates to unify the visual style of the website?

In website operation, maintaining a consistent visual style is the key to brand image and user experience.Imagine if every page layout on your website was different, with navigation positions changing back and forth, users would feel confused and even lose interest.Fortunately, AnqiCMS provides a powerful and elegant way to solve this problem - that is through the `extends` tag in the template inheritance mechanism.AnqiCMS has adopted a template engine syntax similar to Django, making template development intuitive and efficient.

2025-11-09

How to batch regenerate the thumbnails of AnqiCMS to adapt to the new display size requirements of the front page?

The display effect of image materials is crucial during website operation.Sometimes, due to website template updates, design style adjustments, or considerations for optimizing performance, the front-end page of the website may require new display sizes for image thumbnails.In this case, how can a large number of images uploaded to AnqiCMS (AnqiCMS) be generated into appropriate thumbnails according to new size requirements, rather than manually processing one by one, which has become a concern for many users.AnqiCMS fully considers the actual needs of content operators and built-in convenient thumbnail batch processing function

2025-11-09

How to display specific content or member permission prompts for different user groups on the front page of Anqi CMS?

In website operation, providing differentiated content or services for different user groups is an important strategy to enhance user experience and achieve content monetization.AnQiCMS (AnQiCMS) understands this need, built-in powerful user group management and VIP system, allowing you to easily implement personalized content display and permission control on the front page. ### Flexible User Groups and Permission System One of the core strengths of Anqi CMS is its flexible user group and VIP system.In the background, you can create multiple user groups, such as "Regular User", "Registered Member", "VIP Member"

2025-11-09

How to display detailed information of image resources on the front page, such as file name, size, and image address?

When using AnQiCMS to manage website content, images are undoubtedly an important element in enhancing page attractiveness.We often need to display not only the image itself on the front-end page, but also further details about the image, such as their filenames, sizes, and storage addresses.This is very helpful for visitors to understand the background of the image, to reference the content, or to manage and download the image.

2025-11-09

How to determine whether a string, array, or object in AnqiCMS template contains a specific keyword and display content dynamically based on this?

In AnqiCMS, flexibly judging and dynamically displaying information based on content is the key to improving website user experience and SEO effects.Imagine that your website can automatically display related purchase links based on whether an article mentions a specific product; or recommend different sidebar content based on the category the user is in.This not only makes your website smarter, but also greatly improves the efficiency of content operation.The AnqiCMS template engine provides powerful features to help you easily implement these dynamic logic.

2025-11-09