How to manage single pages and page resources (images, videos) in Anqi CMS?

Calendar 👁️ 59

As an experienced security CMS website operation personnel, I am well aware of the importance of efficient content management for the success of the website.Whether it is a single-page that carries the brand story or the images and video resources that constitute the visual experience, they are all core elements that attract and retain users.AnQi CMS provides powerful and intuitive tools for fine-grained management of these contents, ensuring that the website is always presented to the audience in a **state**.


Efficient management of single pages and page resources in Anqi CMS

In Anqi CMS, single pages and page resources are an important component in building the basic content of a website.Single pages are usually used to display static information such as "About Us", "Contact Information", and "Service Introduction", while images and video resources are key to enriching content and enhancing user experience.Mastering these elements' management methods can significantly enhance the operational efficiency and content quality of the website.

building and optimizing a single-page content

The single page management function of AnQi CMS is located under the "Page Resources" module in the background, and can be accessed through the "Page Management" entry.Here, you can create, edit, and maintain various static pages.Each single page has independent content, SEO settings, and display logic, making it an ideal carrier for specific information.

when creating or editing a single page, the first thing to determine isPage NameThis is the page title displayed on the front end. To improve search engine visibility, we also need to fill in the details meticulously.SEO title/KeywordsandSingle page introductionKeywords should be separated by English commas.,Separate, while the single-page introduction will be called as the description tag content in TDK.These SEO elements are the foundation for ensuring good ranking in search results.

The Anqi CMS also supports setting for single pagesCustom URLIn a website with pseudo-static rules enabled, this setting can generate more semantic and SEO-friendly link structures.The system will automatically generate a pinyin-based URL alias based on the page name, but you can also manually edit it and ensure its uniqueness throughout the site.This helps improve user experience and search engine crawling efficiency.

The display order of pages can be set throughDisplay orderAdjust the field, the smaller the number, the closer the page is to the front of the list on the front end. At the same time, you can also specify for a particular single pageSingle page template. Although the system defaults topage/detail.htmlBut if you have special design requirements, you can create something likepage/about.htmlsuch a custom template and specify its use in the background to achieve a highly personalized page layout.

The management of visual elements is equally important. Single page can uploadBanner imageIt is commonly used for banner display at the top of the page, supports uploading multiple images to form a carousel effect, and it is recommended to keep the image sizes consistent to achieve a** visual effect. In addition,ThumbnailThe field allows you to upload an image representing the page, which may be used in some templates for previewing the page list.

The core of a single page is itscontent. AnQi CMS provides a rich text editor with a variety of functions, such as text formatting, link insertion, image upload, video embedding, and more, allowing you to easily create attractive page content.If the Markdown editor is enabled, the content will also be automatically converted from Markdown to HTML when saved, further enhancing the flexibility of content editing.

In the front-end template, we can use the Anqi CMS tags to flexibly call these single-page data. For example,{% pageDetail with name="Title" %}we can get the title of the current page, and{% pageDetail pageContent with name="Content" %}{{pageContent|safe}}It can safely output the HTML content of the page. If you need to display multiple single pages,{% pageList pages %}the tag can easily achieve the loop output of the single-page list.

Fine management of page resources

Page resources, mainly referring to image and video files, which play an indispensable role in the content of the website.The 'Image Resource Management' feature of AnQi CMS centrally manages all the media files uploaded to the website, making resource organization neat and orderly.

Through the "Page Resources" module under the "Image Resource Management" entry, you can view all the images and video resources of the website.For easy search and management, these resources can be classified into different categories, and you can create and maintain these categories according to your actual needs.

The resource management interface supports various batch operations, such as selecting multiple images to delete or transferring them in batches to specified categories.Click any image to view its details page, including the file name, file type, upload time, file size, image resolution, and direct access to the image address.It is worth mentioning that AnQi CMS supportsimage replacementFunction, to update the image file without changing the image URL address, which is very useful for maintaining the stability of website links.It should be noted that the size of the image after replacement will be updated to the size of the new image, and in order to prevent the page from loading slowly due to large images, the system will resize large images in proportion according to the configuration in the 'Content Settings'.If the front-end image has not been updated, it is usually necessary to clear the local browser cache.

AnQi CMS provides a variety of global configurations related to image resource processing under the "Background Settings" and "Content Settings", which are crucial for the management of the website's image resources.

Image download and storage aspectYou can chooseWhether to download remote imagesIf this feature is enabled, images linked from external links will be downloaded and stored on the local server, which helps to improve image loading speed and control the source of image.For users who use CDN or their own image hosting, they can choose not to download remote images.To optimize the image volume and loading performance, AnQi CMS supportsWhether to enable WebP image format. After enabling, all newly uploaded JPG, PNG, and other format images will be automatically converted to WebP format, significantly reducing storage space and bandwidth consumption.For non-WebP images that have already been uploaded, the system also provides a batch conversion tool.

Image compression and thumbnail processing aspect,Whether to automatically compress large imagesThe settings can effectively manage image size. After enabling this feature, the system will automatically compress large images to the specified width, which is default to 800 pixels.You can adjust it according to the actual needs of the website, inAutomatically compress to a specified widthCustomize this value in the field. For front-end display,Thumbnail Processing MethodThree options are provided: "Scale to fit the longest side" can display the image content completely, but the size may not be fixed;“Pad to the longest side” to fix the size, the insufficient part is filled with white;“Truncate to shortest side” will center crop, maintain the aspect ratio of the image, but may lose some edge information.Choose the appropriate method to optimize page layout and loading speed.Moreover, you can also set oneDefault thumbnailWhen an article or single page does not specify a thumbnail, the image will be automatically used as a substitute. If the thumbnail settings are changed,batch regenerate thumbnailsThe feature ensures that all historical images are generated with corresponding thumbnails according to the new rules.

In the template, the invocation of image resources is also flexible. For example,{% pageDetail pageImages with name="Images" %}Can get a single page slide group picture and display each image by looping{% for item in pageImages %}. For the image content in the article details,Contentthe field also supportslazy="data-src"Property, convenient to implement image lazy loading, optimize the page loading experience.

Through these fine-grained features provided by Anqi CMS, website operators can easily manage single-page content and efficiently store, process, and optimize image and video resources, thereby creating a high-quality website with a good user experience and SEO-friendly.


Frequently Asked Questions (FAQ)

How to use a custom template for a specific single page?

In the Anqi CMS backend, go to 'Page Resources' under 'Page Management', edit the single page you need to set. In the editing page, find the 'Single Page Template' field, enter the filename of your custom template, for exampledownload.htmlorpage/about.html. Make sure that the custom template file exists in your template design package, otherwise the page will not open properly. The system uses the default one.page/detail.htmlas a single page template.

2. How does AnQi CMS process uploaded images to optimize website performance?

AnQi CMS provides multiple image optimization settings. In the "background settings" -> "content settings", you can choose to enable WebP image format conversion, which will automatically convert the image to a smaller WebP format when uploaded.You can also enable the "Auto Compress Large Images" feature and set the maximum width, the system will compress images that exceed the size.Moreover, the thumbnail processing method allows you to choose between proportional scaling by the longest side, padding by the longest side, or cropping by the shortest side to meet different front-end display needs and further reduce the size of the image file.

How can I handle the situation where I update image resources in the background but the updated content does not display on the front-end page immediately?

This is usually due to browser caching. When you update images or other resources in the background, the browser may still display the old cached content.The most direct solution is to clear the cache of your local browser, or access the page using the browser's private/Incognito mode.If the problem still exists, it may be that the CDN cache or server-side cache (if configured) has not been refreshed, in which case you can try to clear the system cache of the Anqiy CMS backend.

Related articles

How to customize fields in the AnQi CMS content model to achieve personalized content input?

As an experienced CMS website operation personnel, I know that content is the cornerstone of the website, and effective content management and personalized presentation are the key to attracting and retaining users.AnQi CMS, with its flexible content model, provides us with powerful customization capabilities, making content input no longer limited by predefined frameworks.Today, we will delve into how to customize the fields of the Anqi CMS content model to achieve highly personalized content input.

2025-11-06

How to manage and use document tags in Anqi CMS?

Hello!As a senior AnQi CMS website operations personnel, I am very happy to give you an in-depth explanation of how to efficiently manage and use document tags in AnQiCMS.Document tags are not only a powerful supplement to content classification, but also a key tool for improving user experience and search engine optimization.

2025-11-06

How to add, edit, and manage document categories in Anqi CMS?

As an experienced website operator proficient in AnQi CMS, I am well aware that content classification plays a core role in building an efficient and user-friendly website.It not only helps readers find the information they need quickly, but is also an indispensable part of SEO strategy.In Anqi CMS, the management of document categories is intuitive and powerful, allowing you to flexibly organize content according to your business needs. --- ### Efficiently manage your content categories in AnQi CMS: Add, edit, and optimize practices Good content categorization is the foundation of website content management.It is like the index system of a library

2025-11-06

What are the main function modules of the Anqi CMS backend management interface?

As an experienced soldier who deeply understands the operation of AnQiCMS, I know that an efficient and intuitive backend management interface is of great importance for website operation.It is not only the center of content production, but also the command tower for the implementation of operational strategies.The AnQiCMS backend is designed for this purpose, it clearly divides the complex website management work into several core functional modules, aiming to allow operation personnel to handle daily work with ease and focus on the value creation of content.The AnQi CMS backend management interface is mainly divided into ten functional modules, each with its own responsibility

2025-11-06

How does the navigation setting in AnQi CMS support multi-level menus and custom navigation categories?

As a website operator who deeply understands the operation of AnQiCMS, I am well aware of the importance of an efficient and flexible navigation system for website user experience and content presentation.The AnQi CMS provides great convenience and powerful content organization capabilities to website operators through its multi-level menu support and custom navigation category features.

2025-11-06

How to configure the automatic image processing (WebP, compression, thumbnails) in the content settings of AnQi CMS?

As a person who is deeply familiar with AnQi CMS and proficient in website content operation, I am well aware of the importance of image optimization for website performance, user experience, and search engine ranking.AnQi CMS provides a series of powerful automatic image processing features that can help operators efficiently manage and optimize website image resources.Below, I will give a detailed introduction on how to configure the automatic image processing in the content settings of Anqi CMS, including WebP conversion, image compression, and thumbnail generation.

2025-11-06

How to configure contact information and customize system global parameters in Anqi CMS backend?

As an expert in the operation of Anqi CMS, I understand that high-quality content cannot be separated from a stable backend configuration as a support.The contact information of the website and global system parameters, although it seems basic, is the key to user trust, brand image, and the normal operation of the website's functions.Now, I will elaborate on how to configure these important information on the Anqi CMS backend.

2025-11-06

How are the basic conventions and file directory structure requirements for template creation in AnQi CMS?

As a senior CMS website operation personnel of an enterprise, I know that a clear and standardized template production convention and directory structure is crucial for the long-term operation and maintenance of the website.High-quality templates not only improve user experience, but also lay the foundation for SEO optimization.Next, I will elaborate on the basic conventions and file directory structure requirements of the Anqi CMS document for you.

2025-11-06