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