How to present content in a list page in an attractive way during website operation without requiring a lot of manual work?This is often a headache for operators.AnQiCMS knows this pain point well, providing us with an effective solution through its powerful automation features, especially excelling in the automatic generation and application of document summaries and thumbnails.

Intelligent extraction of document summaries, goodbye to manual writing

Imagine having to manually write a concise summary every time you publish an article; what a time-consuming task that would be.AnQiCMS cleverly solves this problem.When you add or edit a document, if the "Document Summary" field is left blank, the system will not allow it to be empty.In contrast, it will intelligently grab about 150 characters from the beginning of the document content as the default introduction of the article.This means that even if you forget to fill it in or are in a hurry, your article can still have a concise and clear text summary on the list page, helping readers quickly understand the outline of the article and increase their willingness to click.

Of course, AnQiCMS also provides sufficient flexibility.If you are not satisfied with the automatically generated summary, or wish to have more precise control over the presentation of content, full support is provided for manual input and editing.The manually entered summary will be displayed first, ensuring you have the final say in how the content is presented.item.DescriptionThese introductions can naturally appear in front of the readers.

Automatically generate thumbnails to enhance visual appeal.

In addition to the text summary, a well-chosen thumbnail can undoubtedly greatly enhance the visual appeal of the list page.AnQiCMS also shows its intelligent side in this aspect.When we publish an article containing images without manually uploading a thumbnail, the system will automatically identify and extract the first image from the article content, using it as the default document thumbnail.This feature was introduced in the AnQiCMS V1.0.0-alpha version and has been continuously improved.This mechanism ensures that every article on the list page has a visual element, even for newly published, unprocessed text and image content, allowing your website to maintain professionalism and beauty at all times.

AnQiCMS provides a rich set of custom options for thumbnail processing to meet the design needs of different websites.In the "Content Settings" on the backend, we can flexibly adjust the size of the thumbnails.

  • Scale proportionally by the longest sideThe image will be displayed completely, but it will be scaled proportionally based on the longest side.
  • [en] : Crop to the shortest edge.The image will be centrally cropped, ensuring the shortest edge is fully displayed, and part of the longest edge may be cropped off.
  • Scale proportionally by the longest side with paddingThe image will be displayed completely under a fixed aspect ratio, with insufficient parts filled with white.

These settings allow thumbnails to adapt to a variety of layouts while maintaining visual consistency.If the article indeed does not contain any images, or you wish to have a uniform visual style, AnQiCMS also allows you to set a default thumbnail as a fallback option to ensure the tidiness and consistency of the list page.If the style or size of the thumbnail has been adjusted later, AnQiCMS also supports batch regeneration of thumbnails, saving the trouble of a lot of manual operations.

When calling in the template, we can useitem.Thumbto display the thumbnail processed by the system, oritem.Logo[en]To display the cover main image (usually the main image you specifically set), this depends on which visual presentation of the list you prefer.

[en]To display smoothly on the list page

Whether it is an article, product, or single page, the document list tag (such asarchiveList), category list tag (categoryList), and single page list tag (pageList)All of these can well support the display of the automatically extracted and generated summaries and thumbnails.

When building list templates, we just need to call in the loop (for example){% for item in archives %})separately.{{item.Description}}To display the article summary, as well as{{item.Thumb}}or{{item.Logo}}Show a thumbnail.The system will automatically fill in these contents based on actual circumstances, making the list page information rich and beautiful.This integrated design greatly simplifies the workflow of content operators, allowing the website content to be displayed quickly and standardizedly to users after publication.These automated features not only improve the efficiency of content publishing, but also inadvertently optimize the website's user experience and search engine performance.A well-structured introduction and appropriate thumbnails can attract more clicks, while standardized content presentation can help enhance the professional image of the website.By flexibly using the various settings of AnQiCMS, we can find a **balance point between automation and personalization, making the website content operation both efficient and distinctive.


Common Questions (FAQ)

1. Why doesn't my article have a manually uploaded thumbnail, and AnQiCMS doesn't show any images on the list page?This is usually because there are no images included in your article content, or even if there are images, they may be referenced through external links, and you have turned off the option 'Download remote images' in the 'Content Settings'.AnQiCMS defaults to extracting the first local image from the article content as a thumbnail.If the article has no image and no default thumbnail is set, the list page will not display an image naturally.You can upload a 'default thumbnail' in the 'Content Settings' as a backup for all articles without images.

2. Can the number of extracted summary characters be adjusted if it is too few or too many?AnQiCMS currently automatically extracts the number of characters for the introduction as the first 150 characters of the document content.If you need a longer or shorter introduction, the only way is to manually enter the content you want to display in the "Document Introduction" field on the document editing page.The manually entered summary will override the automatically extracted summary.

3. I want the thumbnails on the list page to be displayed in a fixed ratio. Can AnQiCMS do that?