How to handle images (download remote, Webp, compress large images) to optimize page display speed in content settings?

Calendar 👁️ 66

As website operators, we all know the importance of website loading speed for user experience and search engine rankings.Especially on content-rich websites, images are often a key factor affecting page speed.AnQiCMS (AnQiCMS) provides us with several very practical image processing functions in the content settings, allowing us to flexibly optimize images and significantly improve the display speed of the website.

Remote image localization, controlling image resources

During content creation, we sometimes refer to images from other websites.At this time, AnQi CMS provides an option to download remote images, which can help us automatically download images linked from external links to our own server.Selecting to enable this feature is undoubtedly the first step in improving website stability and loading speed.Imagine if the external image server we depend on responds slowly, or worse, if the external image link fails, our website pages will show failed image loading or blank display, which will severely harm the user experience.After localizing the remote images, we can completely control these images, not only will the loading speed be faster, but we can also avoid the problem of image loss caused by external factors.Of course, if your website already uses a high-performance CDN or a dedicated image hosting service to manage images, and its performance is superior to that of the local server, then you can also choose not to download remote images to avoid duplicate storage and transmission.

Embrace the new format: WebP images, lightweight and fast

The choice of image format has a direct impact on the loading speed of the page.The traditional JPG, PNG images are indeed universal, but in terms of compression efficiency, the WebP format often performs better.Aqie CMS is well-versed in this, providing the option to 'enable Webp image format'.Once we enable this feature, the system will automatically convert newly uploaded JPG, PNG images to WebP format.WebP images can provide smaller file sizes at the same quality, which means users will download less data when accessing web pages, thereby significantly speeding up page loading speeds.It is worth noting that this setting only takes effect for images uploaded after it is turned on.Don't worry, Anqi CMS also kindly provides a WebP batch conversion tool, allowing us to conveniently convert existing non-WebP format images on the website to WebP in batches, achieving lightweight images for the entire site.

Intelligent compression of large images, say goodbye to bulky loading

Modern devices have increasingly powerful camera functions, a casual photo can be several MB, even tens of MB, and uploading it directly to a website without processing is undoubtedly a huge killer of page loading speed.The 'Whether to automatically compress large images' feature of AnQi CMS is the tool to solve this pain point.After enabling, the system will intelligently judge when uploading images, automatically compressing images that exceed the preset size.By default, the system compresses to a width of 800 pixels, but we can also customize this value according to the website design and actual needs in the 'Auto-compress to specified width' option.This feature can greatly reduce the storage space occupied by images, and more importantly, it can avoid users downloading unnecessary large-sized images, allowing the page to appear rapidly in front of visitors while maintaining visual quality.It should be noted that image compression is based on the image width for judgment and execution.

Flexible thumbnail management, enhancing content display efficiency

In addition to large images and remote images, the reasonable setting of thumbnails is also crucial for the display speed and layout aesthetics of the page.The Anqi CMS provides fine-tuned thumbnail processing options, allowing us to manage image display with ease.

Firstly, in the 'thumbnail processing method', the system provides three strategies:

  1. Scale proportionally to the longest sideThis method will display all sides of the image completely and will resize it proportionally based on the maximum side length set, ensuring that the image does not distort.
  2. Fill the longest sideIf you need a uniform fixed-size thumbnail but also want to display the entire image content, this option is very suitable.The image will be centered, and any parts that are too small will be filled with white blocks to the specified size.
  3. Trim according to the shortest edgeThis method ensures that the thumbnail fills the entire specified area, the system will crop the image centrally, based on the shortest side, which may result in part of the longest side being cut off.

We can choose the most suitable way based on the layout and image content characteristics of the website.

Secondly, the thumbnail size allows us to customize the specific width and height, ensuring that the thumbnail perfectly matches the website template, reducing the image size, and speeding up the page rendering speed.If some documents on the website do not upload thumbnails, the Anqi CMS also provides a setting for 'default thumbnails' to ensure that the content display will not be empty even without a dedicated image, maintaining the visual consistency of the page.

Finally, after adjusting the thumbnail size or processing method, you can use the 'Batch Regenerate Thumbnails' feature to update all existing thumbnails on the site with one click, without manual operation, convenient and fast.

In summary, the image processing strategies provided by AnQi CMS in the content settings, starting from the source, through localization, new formats, intelligent compression, and fine management, provide comprehensive and powerful support for optimizing website images for us.Using these features reasonably can not only make our website load faster, improve user experience, but also have an advantage in search engine optimization, which is a win-win situation.


Frequently Asked Questions (FAQ)

1. I enabled the WebP image format conversion on the AnQi CMS backend, why haven't the previously uploaded images been converted to WebP?Answer: The WebP image format conversion feature is enabled by default only for new images uploaded after you turn on the option.If you want to convert existing non-WebP images on your website to WebP format, you can use the "WebP Batch Conversion Tool" provided by AnQi CMS for one-time conversion, which is usually located at the bottom of the "Content Settings" page.

2. How many pixels should the 'Auto-compress large image to specified width' setting be set to be appropriate?Answer: The width value depends on the design layout and target audience of your website.The default 800 pixels is a good balance point for most blog posts or news detail page images, as it ensures image clarity while effectively reducing file size.If your website's main content area is wide or the image needs to show more details, you can adjust it appropriately, such as 1200 pixels or 1600 pixels.Please test according to the actual page width and the purpose of the image, find the width that is most suitable for your website, and avoid excessive compression affecting the visual effect or too large a size affecting the loading speed.

3. What are the differences between the three modes of "Picture thumbnail processing methods" - "Proportional scaling by the longest side", "Filling by the longest side", and "Cropping by the shortest side", and how should I choose?Answer:

  • Scale proportionally to the longest sideThis method maintains the original aspect ratio of the image, scaling based on the longest side to ensure the image is displayed completely without distortion, but the thumbnail size may not be consistent.It is suitable for scenarios with high requirements for the integrity of image content and where the layout does not require high accuracy for thumbnail size.
  • Fill the longest sideThis mode generates a fixed-size thumbnail, centers the image after full scaling, and fills the part of the image that is smaller than the thumbnail size with white.This ensures that all thumbnail sizes are uniform, but may leave white space around the images.Suitable for designs that require strict uniform thumbnail dimensions and accept whitespace around the images.
  • Trim according to the shortest edgeThis method will also generate a fixed-size thumbnail, but it will crop according to the shortest side to ensure the image fills the entire thumbnail area.This means that part of the image content (usually the edge of the longest side) may be cropped off.Suitable for those who have a very high requirement for the uniformity of thumbnail size, and where the central content of the image is most important, willing to accept the edges being cropped.

The choice depends on the specific design requirements and content display focus of your website.For example, e-commerce product images usually choose to "crop to the shortest side" to fill the frame, while article list images may tend to "scale proportionally to the longest side" to maintain the integrity of the image.

Related articles

How to configure custom rewrite rules to create more SEO-friendly content URLs?

The importance of URL structure in website operation is self-evident.A clear, concise, and keyword-rich URL not only improves user experience but also makes it easier for users to remember and share content, and can significantly optimize the crawling and ranking effects of search engines.Aqicms is well aware of this, therefore it provides a flexible and powerful pseudo-static rule configuration function to help users create more SEO-friendly content URL displays.What is the pseudo-static URL and its importance?So-called pseudo-static is not a real static page, but refers to URL rewriting technology through the server

2025-11-08

How does the search engine link push feature help new documents be indexed and displayed in search results quickly?

On the day of content release, how can your meticulously crafted website content be quickly discovered and indexed by search engines, which is a focus for every content operator.A newly released article or product page, if it can appear quickly in the search results, it will undoubtedly seize the initiative and bring valuable early traffic.AnQiCMS (AnQiCMS) fully understands this need and has specially provided a search engine link push feature to help your new document reach the search engine as quickly as possible, thereby speeding up indexing and display.Why is it important to be indexed quickly?

2025-11-08

How to correctly insert mathematical formulas and flowcharts in a Markdown editor and ensure they display normally on the web?

In content creation, especially in fields involving technology, science, or complex concepts, we often need to insert mathematical formulas or draw flowcharts to assist in explanation.The Markdown editor of AnQiCMS (AnQiCMS) has provided us with great convenience, allowing these complex elements to be input in a concise text form and presented elegantly on the web.How should we operate specifically to ensure that the content is displayed correctly?Firstly, make sure that your safety CMS system has enabled the Markdown editor.

2025-11-08

How to define temporary variables with the `with` tag in a template to better control content display logic?

When developing website templates in AnQiCMS, we often need to handle various data and decide the display mode of the content according to these data.With the complexity of website functions, the logic in the templates sometimes becomes difficult to understand and maintain.At this point, mastering some advanced template tag usage is particularly important, and the `with` tag is one of the practical tools that can significantly improve the readability and control of the template.### The `with` tag: A tool for defining temporary variables in templates The `with` tag allows us to define temporary variables within a specific area of the template

2025-11-08

How does the navigation settings support creating navigation at different locations to meet the diverse content display needs of the website?

In website operation, the navigation system plays a crucial role, it is not only the map for users to explore the content of the website, but also the key for search engines to understand the structure of the website.A well-designed navigation can significantly improve user experience, guide users to discover more interesting content, thereby extending visit time, and indirectly help the website's SEO performance.AnQiCMS provides a user-friendly and powerful navigation settings feature, allowing you to flexibly build various types of navigation to meet the diverse content display needs of the website.### Core Concept: Flexible Construction of Navigation AnQiCMS

2025-11-08

How to set custom parameters in the background and flexibly call them in the front-end template to display specific information?

In a content management system, flexibility is the key to improving operational efficiency and meeting personalized needs.AnQiCMS deeply understands this, providing powerful custom parameter functions, allowing users to flexibly expand content attributes according to business characteristics, and accurately display this information in front-end templates.This article will discuss in detail how to set custom parameters in the Anqi CMS backend, as well as how to call them in the front-end templates to create a more expressive and functional website.--- ### The Power of Custom Parameters

2025-11-08

How to configure independent SEO information and template display for a single page (such as "About Us") in the page management?

In website operation, each page has its unique value and goal.For pages such as "About Us", "Contact Us", and "Terms of Service", they often carry brand stories, core values, or important contact information, which are crucial for building corporate image and user trust.Therefore, configuring exclusive SEO information and personalized display templates for these specific pages is an effective way to enhance the professionalism and user experience of the website.AnQiCMS deeply understands these needs, providing flexible and powerful functions, allowing you to independently configure SEO information and specify personalized template display for each single page

2025-11-08

In document management, how is the recommended attribute `flag` used to control the display of content on the homepage or other special locations?

In Anqi CMS, the "recommended attribute" (`flag`) is a powerful and flexible feature that allows you to finely control the display of website content on the homepage, category pages, or other specific display areas.Understanding and effectively using this attribute can significantly improve the content operation efficiency and user experience of your website.What is the "recommended attribute" (`flag`) in Anqi CMS?In the Anqi CMS document management module, when you add or edit a document, you will find an option named "recommended properties".These attributes are not traditional classifications or tags

2025-11-08