As a website operator who is deeply familiar with the operation of AnqiCMS, I know that efficient content management and optimization is crucial for attracting and retaining users.AnqiCMS with its simple and efficient architecture, provides us with powerful tools to handle all aspects of the website.Today, I will elaborate in detail on how to manage single-page content on the AnqiCMS backend, and effectively utilize image and video resources to enhance the content quality and user experience of your website.
Efficient management of single page content
Single page, such as 'About Us', 'Contact Information', or 'Service Introduction', is an indispensable part of the website, usually carrying long-term stable, infrequently updated core information.In AnqiCMS, the management of these pages is categorized under the 'Page Resources' section and the 'Page Management' module.
Log in to the backend, you can find 'Page Resources' in the left navigation bar, and click 'Page Management' to enter the single page list.Here, you can directly view all the single pages created, and perform operations such as adding, editing, and deleting.When you select "Add Single Page" or edit an existing page, you will see a detailed form to configure the various properties of the page.
Firstly,Page NameIs the front-end display title of the page, should be concise and clear, accurately convey the theme of the page. In order to optimize the search engine performance,SEO title/KeywordsandSingle page introductionThese are crucial.SEO titles allow you to set a more optimized title for search engines that is different from the page name, keywords help search engines understand the core theme of the page, and a single-page introduction (usually the first paragraph of content summary on the page) will be displayed as the description information of the page in search results.This metadata should accurately summarize the page content and include relevant keywords to enhance the page's search visibility.
Custom URLThe feature has given a single-page friendly and easy-to-remember link structure.The system will automatically generate a pinyin URL based on the page name you enter, but you can also manually modify it according to your needs to ensure the conciseness, semantics, and uniqueness of the URL throughout the site. This is also of great significance for SEO.
Display OrderDetermined the priority of a single-page appearance in certain lists or navigation, the smaller the number, the closer it is displayed. For single pages that require special visual presentation,Single Page TemplateThe option allows you to specify a custom template file. For example, if you have a "team introduction" page specifically for displaying team members, you can create ateam.htmlTemplate, specify here to use it to achieve personalized page layout and style.
In terms of visual presentation,Banner imageandThumbnailThe field provides rich display possibilities for a single page.Banner image supports uploading multiple images, which can be used for the carousel or large visual elements at the top of the page, while thumbnails may appear as representative images in page lists or sharing.These images should be carefully selected and optimized to enhance the attractiveness of the page.
CoreSingle page contentEditing area, AnqiCMS provides a powerful rich text editor that supports setting titles, text formatting, inserting quotes, bold, italic, lists, alignment, and various other text styles.It is more important that it integrates the function of inserting images and videos. You can directly select or upload new resources from the media library, and easily incorporate rich visual content into the page.For scenarios that require inserting structured data, such as flowcharts or mathematical formulas, AnqiCMS's newly added Markdown editor provides support. By integrating third-party CDN resources, it can correctly display these contents, greatly enriching the expression form of a single page.
Image and video resource management and optimization
High-quality images and videos are the foundation of a website's attractiveness.AnqiCMS's 'Image Resource Management' module, located under the 'Page Resource' menu, is the centralized management center for all your website's visual and multimedia content.
Enter "Image Resource Management", and you will see a clear list of resources.The system allows you to categorize these resources for easy search and management.You can create custom categories (such as "product imagesThis not only improves the order of management, but also allows for faster access to the required resources during content editing.
The operation of uploading images and videos is simple and intuitive, supporting batch uploads.After upload is complete, click on any resource to enter its detail page.Here, you can view the detailed information of the resources, including the filename, file type, upload time, file size, image resolution, and the direct access URL.replace images: You can upload a new image to replace the old one without changing the image URL.This means that if the content of an image needs to be updated and its URL has been widely referenced, you do not need to modify all the references, just replace the image file, which greatly simplifies the content maintenance work.
AnqiCMS provides powerfulContent SettingsEnglish translation: To optimize image and video resources. Under 'Background Settings' in the 'Content Settings', you can configure a series of strategies to ensure the efficient use of media resources:
- Whether to download remote imagesIf you reference images from external links in the content, AnqiCMS can choose to automatically download them to the local server to avoid the failure of external links causing image loss.
- whether to enable Webp image formatEnable this feature and all new uploaded JPG, PNG, and other images will be automatically converted to WebP format.WebP is a modern image format that can significantly reduce file size while maintaining high quality, thereby speeding up page loading.For non-WebP images that have been uploaded, the system also provides a batch conversion tool.
- whether to automatically compress large imagesandCompress automatically to specified widthThese settings can automatically adjust the size of large images to avoid affecting page loading performance due to large image volume.You can set an ideal width (such as 800 pixels), and the system will automatically compress it in proportion when uploaded.
- Thumbnail processing methodandThumbnail size:AnqiCMS provides various thumbnail generation methods (such as scaling proportionally by the longest side, filling with whitespace by the longest side, and cropping by the shortest side), and allows you to customize the size of thumbnails.This ensures the thumbnails look beautiful and consistent across different display scenarios, while also avoiding the need to load full-size images, further optimizing page speed.
- Default Thumbnail:Set a unified default thumbnail for content. When certain content does not have a manually uploaded thumbnail, the default image will be used automatically for display.
- Batch regenerate thumbnails:When you adjust the thumbnail size settings, you can use this feature to batch update the thumbnails of all uploaded images, ensuring the consistency of website images.
Insert these images and video resources into a single page (or any other content type, such as articles, products) with great ease.In the rich text editor, click the icon to insert images or videos, and you can select the uploaded resources from the pop-up resource library, or upload new resources immediately.For the banner image and thumbnail fields on a single page, it is also implemented by selecting images from the resource library.
Through the above detailed backend management functions, AnqiCMS grants website operators full control over single-page content and multimedia resources.Whether it is the precise writing of content or the excellent optimization of visual elements, we can present high-quality and high-performance website experience to users with a professional attitude.
Common Questions and Answers (FAQ)
Q1: Can I use a different template for different single-page applications? How to operate?
A1: Yes, AnqiCMS supports specifying independent templates for each single page. When editing a single page, you can enter the name of the template file you want to use in the 'Single Page Template' field, for example,about-us.htmlorcontact.html. Make sure that this template file exists in your template design package and conforms to AnqiCMS's template naming conventions (usually located in the template root directory under thepage/Subdirectory, or directly in flat mode withpage-{单页ID}.htmlorpage.htmlnaming). This allows you to achieve highly personalized displays based on the content and design requirements of specific pages.
Q2: My uploaded image is blurred or too large on the front end. How should I optimize it?
A2: The image appears blurry or too large on the front end is usually related to image size and compression settings.First, check the 'Background Settings' -> 'Content Settings' for the options 'Whether to automatically compress large images' and 'Automatically compress to a specified width'.Ensure they are enabled and the width is set reasonably.其次,查看“缩略图处理方式”和“缩略图尺寸”设置,确保它们与您前端模板中调用图片时的预期尺寸相符。If the image is still problematic, it may be due to the original image upload resolution being too low, causing blurring, or that you have called the unprocessed original image in the front-end template.Suggest uploading high-quality original images and let AnqiCMS handle the automatic processing and scaling.
Q3: How should I embed a video into a single page if I need to?
A3: In the rich text editor for editing single-page content, you can find the button to insert a video (usually the video player icon).Click this button, the system will pop up the media resource selection interface.Here, you can select video files that have been uploaded to the AnqiCMS media library, or insert videos by embedding code from external video platforms (such as YouTube, Bilibili, etc.).If it is an external video, please paste the embed code provided by the platform into the specified location.For local videos uploaded to AnqiCMS, after selection, the editor will automatically generate the corresponding playback tag.