How to classify and manage uploaded image resources, and optimize the front-end display?

Calendar 👁️ 71

In the process of using AnQiCMS to manage website content, the management and optimization of image resources are essential for improving website user experience and SEO performance.A well-organized image library not only makes daily operations more efficient, but also ensures that website content is presented in **status across different devices and network environments.

Classify image resources: Say goodbye to chaos and have everything in order

AnQi CMS provides us with an intuitive image resource management interface, making a large number of images no longer a difficult problem of piling up.To start organizing, we just need to go into the backend, click on the left navigation bar's 'Page Resources', and then select 'Image Resource Management'.

Here, you will see all the uploaded images and video files.If your website has been running for a long time or if you have uploaded a large number of images, you may find that the image list is somewhat disorganized.At this moment, the "category management" function on the left comes into play.We can create different categories based on content type (such as product images, article illustrations, Banner images, team photos), project name, or even upload time.For example, create a category for 'Latest Products' and a category for 'Blog Article Images', so that you can quickly locate specific images when needed.

After creating a category, we can classify the uploaded images.AnQiCMS supports batch operations, you can easily select multiple images and then transfer them in bulk to the preset categories.This not only makes the background image list organized, convenient for us to quickly find and reuse materials, but also lays a solid foundation for the front-end content display.Imagine, when designers or content editors need images, they no longer have to sift through a vast sea of images, but can directly enter the corresponding categories, greatly improving work efficiency.

Optimization of front-end display of image resources: balancing speed and aesthetics

It is not enough to just categorize images, how to make these images both beautiful and fast to load on the website front-end is a key aspect we need to focus on.AnQiCMS offers a variety of practical features for image optimization, helping us achieve this goal.

Firstly, under the "Background Settings" and "Content Settings", we can find a series of global image processing options:

  • WebP image format conversion:“Whether to enable the WebP image format” is an important option.WebP is a modern image format that can significantly reduce the file size of images without compromising visual quality, thus speeding up the loading of websites.Once this feature is enabled, all uploaded JPG, PNG images will be automatically converted to WebP format.If you want to convert the old images uploaded as well to WebP, the system also provides a batch conversion tool, which is very convenient.
  • Large image automatically compressed:The "Auto-compress large images" feature is also practical, especially when uploading high-resolution images.After turning on, the system will automatically compress the image to the preset "auto-compress to a specified width", such as the default 800 pixels.This can ensure that the image is displayed clearly while effectively saving server storage space and bandwidth.
  • Thumbnail processing method and size:AnQiCMS provides three thumbnail generation methods: 'Scale proportionally by the longest side', 'Fill by the longest side', and 'Crop by the shortest side'.We can flexibly choose the appropriate processing method according to the requirements of the website front-end design and set a unified 'thumbnail size'.For a uniform square thumbnail, you can choose 'Crop by shortest side'; if you want the image to be displayed fully and centered, you can choose 'Fill by longest side'.Moreover, the setting for the 'default thumbnail' provides a unified placeholder when no image is uploaded, maintaining the beauty of the page.
  • Batch regenerate thumbnails:If we modify the thumbnail size or processing method, we can use the "Batch Regenerate Thumbnails" feature to update all image thumbnails with one click, saving a lot of manual operation trouble.

In addition to the global settings, AnQiCMS also provides support for image optimization at the content editing and template call level:

  • Details in content editing:When editing a document or page, the option to 'download remote images' can download external link images to the local server, which is beneficial for SEO and website stability.AnQiCMS also supports automatically extracting the first image in the content as a thumbnail, which greatly saves our operation time.At the same time, to protect original content, the built-in 'Anti-Crawling and Watermark Management' feature can automatically add watermarks to images, effectively preventing misuse.
  • Flexible invocation of front-end templates:How the image finally appears on the front end of the website depends on the template call method.In AnQiCMS template tags, we can call different sizes and types of images according to actual use.archive.LogoIt is usually used to call the cover image of an article, whilearchive.Thumbit is used to call the processed thumbnail. For product display or Banner carousel,ImagesThe field can conveniently call multiple group images. Even if we set a uniform thumbnail size in the background, the front-end template can also pass throughthumbThe filter, without changing the original image, generates and calls different thumbnail sizes according to specific display requirements, greatly enhancing the flexibility of front-end display.By coordinating with the front-end image lazy loading technology, it can further optimize page loading speed and improve user experience.

By using these image classification and display optimization features provided by Anqi CMS, we can effectively enhance the performance, visual effects, and content management efficiency of the website.A smooth-running, beautiful website will undoubtedly attract and retain visitors, helping us achieve our operational goals.


Frequently Asked Questions (FAQ)

1. Will the front-end image update immediately if I change the global settings of the image on the backend (such as WebP or compression size)?The update of the front desk image usually takes a little time.For images cached by the browser, it may be necessary for users to manually clear the browser cache to see the latest effects.For thumbnails generated on the server or WebP conversions, you can use the 'Batch regenerate thumbnails' feature on the 'Content Settings' page to force the system to process all old images.

How to call the Banner image under a specific category on the front-end template instead of the thumbnail in the article?In AnQiCMS, the category itself can be set to have a Banner image and thumbnail. In the template, you can usecategoryDetailtags to get the detailed information of a specified category, and then through itsImagesField (used for Banner group image) orLogo/ThumbField (used for a single image) to call. For example,{% categoryDetail categoryImages with name="Images" %}can retrieve a Banner group image of a certain category.

3. Does AnQiCMS support image CDN? How should I configure it if I want to use CDN to accelerate image loading?AnQiCMS itself mainly manages the local storage and processing of image resources.If you wish to use CDN to accelerate image loading, you usually do not need to make complex configurations within AnQiCMS.You can add your website domain to the CDN acceleration service in the CDN service provider's console and configure the backsource address to point to your AnQiCMS server.This, when the user accesses the image, the CDN will automatically fetch the image from your server and distribute it, thereby achieving acceleration.The image paths generated by AnQi CMS are relative paths or complete URLs and are compatible with CDN services.

Related articles

How to manage and display single-page content on the website, such as 'About Us'?

Manage and display single-page content in Anqi CMS: from creation to optimization Most websites cannot do without static pages such as "About Us", "Contact Information", and "Privacy Policy".These pages, although relatively fixed in content, are important windows for users to understand the website and establish trust, and are also key factors for search engines to evaluate the professionalism of the website.AnQi CMS understands the importance of these pages and provides a set of intuitive and powerful tools that allow you to easily manage and beautifully display this single-page content.

2025-11-08

How to display custom model field information in the document list?

In Anqi CMS, the flexibility of the content model is one of its outstanding advantages.Many times, we not only need to display rich content on the document detail page, but also hope to see key custom information at a glance on the document list page, such as product models, article authors, property prices, vehicle mileage, and so on.This information is often an important basis for users to quickly screen and understand the content.This article will detail how to cleverly display these custom model field information in the document list of Anqi CMS.

2025-11-08

How to filter and display content under specific models or categories on the document list page?

When managing website content, we often need to display specific types or themes of content on different list pages, such as article lists, product showcase pages, or detailed summaries of custom models.This not only concerns whether users can find the information they need efficiently, but also directly affects the overall layout and user experience of the website.Anqi CMS with its flexible content model and efficient system architecture provides us with powerful tools to accurately filter and personalize content display.### The Core of Content Organization: Models and Classification In AnQi CMS

2025-11-08

How to customize the website navigation menu to display multi-level content links?

During the process of building and operating a website, the navigation menu plays a crucial role.It is not only a guide for users to explore the content of the website, but also the key for search engines to understand the structure of the website.AnQiCMS (AnQiCMS) fully understands this point, therefore it provides a flexible and powerful navigation menu customization feature, allowing us to easily implement the display of multi-level content links, thereby optimizing user experience and enhancing the overall efficiency of the website.Next, we will together learn how to customize and manage the website navigation menu in Anqi CMS, and make it able to flexibly display multi-level content links.##

2025-11-08

How to integrate Markdown editor into a website and correctly display mathematical formulas and flowcharts?

In today's increasingly rich digital content, websites are no longer just a pile of text and images.For users who need to display technical documents, academic papers, data analysis reports, and even complex business processes, how to efficiently and beautifully present mathematical formulas and flowcharts has become a key factor in enhancing the professionalism and user experience of the content.AnQi CMS is well-versed in this, providing powerful Markdown editor integration capabilities, with simple frontend configuration, allowing your website to easily support the display of these advanced content.

2025-11-08

How to precisely control which document IDs, titles, and links are displayed on the article detail page?

In website operation, the article detail page is the core touch point for users to obtain information, and its way of information presentation directly affects user experience and the transmission of content value.AnQiCMS as a flexible content management system provides powerful and fine-grained control capabilities, allowing you to accurately display the required document ID, title, link, and other information on the article detail page. To precisely control the content of the article detail page, we mainly rely on the template tag system of AnQiCMS.The core lies in the `archiveDetail` tag

2025-11-08

How to truncate overly long content on the article detail page and add an ellipsis?

In website operation, we often encounter such situations: an article is rich in content, but when it is displayed on the list page, the recommendation area, or some abstract module on the article detail page, we only want to display a part of the content and end it with an ellipsis to maintain the neatness of the page and the fluency of reading.If the entire content is displayed directly, the page will appear lengthy, affecting user experience.Luckyly, AnQiCMS provides us with a very flexible and powerful template mechanism, allowing us to easily truncate long content and elegantly add ellipses to enhance the overall page effect

2025-11-08

How to call the cover main image, thumbnail, and group image to enrich the display effect?

In website operation, images are indispensable elements to attract visitors and convey information.Reasonably using the cover image, thumbnail, and group image of the article can greatly enhance the visual appeal of the website, enrich the form of content presentation, and make your content more vivid and attractive.AnQiCMS as a flexible and efficient content management system provides an intuitive way to manage and call these image resources, helping you easily achieve diverse image display effects.Understanding the image types in AnQiCMS

2025-11-08