In website content operation, maintaining the visual appeal and consistency of the content is crucial.Many times, the articles we publish may not have a specific picture, or the editor may have missed uploading the thumbnail during editing, which may cause the page to appear blank or have inconsistent styles.AnQiCMS (AnQiCMS) fully considers this user demand and provides a flexible default thumbnail setting function, ensuring that articles without separately uploaded thumbnails can also have beautiful image displays.

Why is it necessary to set a default thumbnail?

A default thumbnail is like the "backup plan" of a website, it can effectively solve the following problems:

Firstly,Enhance visual consistency.When the thumbnail is needed to be displayed in places like the article list and recommendation positions on the website, if some articles do not have one, the blank area will not look professional.The unified default thumbnail can fill these gaps, making the entire page look more complete and organized.

Secondly,Optimizing user experience.Pictures are more eye-catching than text, a suitable thumbnail can quickly convey the theme of the article and attract users to click.Even generic images can enhance the click-through rate of articles to some extent and reduce users' reading fatigue.

Moreover,Simplify the content publishing process.For websites with large content volumes, selecting or creating thumbnails for each article can take a significant amount of time.After setting the default thumbnail, content editors can focus more on the content of the article itself, without worrying about missing illustrations, AnQiCMS will automatically apply the default image to articles without thumbnails.

How to set default thumbnail in AnQiCMS

Setting a default thumbnail in AnQiCMS is a simple and intuitive process, it only takes a few steps to complete:

  1. Enter the background management interface:Log in to your AnQiCMS management backend.
  2. Navigate to content settings:In the left function menu, find and click “Background Settings”, and then select “Content Settings” in the expanded submenu.
  3. Find the “Default Thumbnail” option:In the "Content Settings" page, you will see a series of options for content processing. Scroll down, and you will find a section named "Default Thumbnail".
  4. Upload or select an image:In the "Default Thumbnail" area, there is usually a button for uploading or selecting an image.Click it, you can upload an image from your local storage, or select an image from the AnQiCMS image library as the default thumbnail.Suggest choosing an image with universality that can represent the website style.
  5. Save settings:Please make sure to click the "Save" or "Submit" button at the bottom of the page after selecting the image to ensure that your settings take effect.

After completing these steps, every time you publish an article without uploading a separate thumbnail, AnQiCMS will automatically display the default thumbnail you have set.Additionally, if the article content contains images, AnQiCMS will prioritize extracting the first image in the article as a thumbnail. This is an intelligent processing method that can make the most of the internal resources of the article.

Other thumbnail-related features

In addition to the default thumbnails, AnQiCMS also provides other practical thumbnail processing features to help you better manage website images:

  • Thumbnail processing method:You can select different thumbnail generation methods in the content settings, such as "Proportional scaling by the longest edge", "Padding by the longest edge", or "Trimming by the shortest edge".These options meet the needs of different template layouts and visual styles, allowing thumbnails to present perfectly in various scenarios.
  • Thumbnail size: According to your website template design, you can set a uniform thumbnail size. This helps to maintain a tidy display of images and avoid visual confusion caused by different sizes.
  • Batch regenerate thumbnails:If you modify the thumbnail size or processing method, or want to convert the uploaded images to WebP format for optimized loading speed (WebP image format feature must be enabled), AnQiCMS provides the 'Batch regenerate thumbnails' feature.This feature allows all your article thumbnails to be processed uniformly according to the new settings, ensuring that the website images maintain **status**.

How to call thumbnails in the template

In AnQiCMS template design, calling the article thumbnail is usually very simple.No matter whether you are on the article list page or the article detail page, you can obtain the thumbnail address through specific variables.archiveListorarchiveDetailYou can use it directly in the tag loop or detail{{item.Thumb}}(List page) or{{archive.Thumb}}(Detail page) to get the thumbnail address of the article.

When the article itself does not upload a specific thumbnail, the system will intelligently judge: if the article content contains images, it will automatically extract the first image as the thumbnail; if the article content does not contain any images either, then AnQiCMS will use the "default thumbnail" configured in the content settings for display.This mechanism ensures the "safety net" effect of content display, avoiding the embarrassment of missing images.

Through AnQiCMS flexible default thumbnail settings, you can easily achieve visual consistency of website content, enhance user experience, and simplify daily content operations.


Common Questions (FAQ)

Q1: I have set the default thumbnail, why do some articles still not display the default image but show other images instead?

A1:AnQiCMS in handling article thumbnails has a priority logic.If you insert an image into the article content editor, even if you do not upload a separate 'document image' as a thumbnail, AnQiCMS will intelligently extract the first image in the article content as the thumbnail for that article.Only when the article has neither a separate uploaded thumbnail nor any images in the content, the system will enable the default thumbnail you configured in the 'Content Settings'.

Q2: I modified the default thumbnail size or the thumbnail processing method, but the thumbnails of the previous articles on the website do not seem to have changed. Why is that?

A2:When you adjust the thumbnail size or processing method in the "Content Settings", these new settings will not immediately affect the thumbnails that have already been generated.In order to apply the new settings to all thumbnails of published articles, you need to use the "Batch regenerate thumbnails" feature on the "Content Settings" page.Click this feature, the system will reprocess all thumbnail images of articles according to the latest settings.

Q3: Does the default thumbnail support WebP format? Will my uploaded image be automatically converted to WebP?

A3:Yes, AnQiCMS supports WebP image format.If you enable the 'Whether to start Webp image format' feature in 'Content Settings', all uploaded images (including default thumbnails) will be automatically converted to WebP format to optimize image size and loading speed.If the previously uploaded images are not in WebP format, you can also use the 'Batch regenerate thumbnails' feature to convert them to WebP format.