It is crucial to maintain the visual appeal and consistency of content in website content operation.Many times, the articles we publish may not have specific images, or we may have omitted uploading the thumbnail when editing, which may result in blank pages or inconsistent styles on the page.AnQiCMS (AnQiCMS) fully considers this user demand, providing flexible default thumbnail setting functions to ensure that articles without separately uploaded thumbnails can also have beautiful image displays.
Why is it necessary to set a default thumbnail?
The default thumbnail is like a website's 'backup plan', it can effectively solve the following problems:
first, Enhance visual consistencyWhen thumbnail images are needed on a website's article list, recommended positions, and other places, if some articles do not have them, the blank areas will not look professional.A unified default thumbnail can fill these gaps, making the entire page look more complete and organized.
secondly,optimize user experienceThe image is more eye-catching than text, a suitable thumbnail can quickly convey the theme of the article, and attract users to click.Even common images can enhance the click-through rate of an article to some extent, reducing users' reading fatigue.
Moreover,Simplify the content publishing process. For websites with a large amount of content, carefully selecting or creating thumbnails for each article takes a lot of time.After setting the default thumbnail, the content editor 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 the default thumbnail in AnQiCMS
Setting the default thumbnail in AnQiCMS is a simple and intuitive process, it only takes a few steps to complete:
- Log in to the back-end management interface:Log in to your AnQiCMS management backend.
- Navigate to the content settings:In the left function menu, find and click "Background Settings", and then select "Content Settings" from the expanded submenu.
- Find the option: "Default Thumbnail".On the "Content Settings" page, you will see a series of options related to content processing. Scroll down to find a section named "Default Thumbnail".
- Upload or select an image:In the "default thumbnail" area, there is usually a button to upload or select an image.Click it, you can upload an image from your local device or select one from AnQiCMS' existing image library as the default thumbnail.Suggest choosing an image with universality, which can represent the style of the website.
- Save settings:After selecting the image, please make sure to click the "Save" or "Submit" button at the bottom of the page to ensure that your settings take effect.
After completing these steps, whenever you publish an article without uploading a thumbnail separately, AnQiCMS will automatically display the default thumbnail you have set.In addition, if the article content contains images, AnQiCMS will prioritize extracting the first image in the article content as a thumbnail, which 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 thumbnail, AnQiCMS also provides other practical thumbnail processing features to help you better manage website images:
- Thumbnail processing method:You can choose different thumbnail generation methods in the content settings, such as 'Scale proportionally to the longest side', 'Fill to the longest side', or 'Crop to the shortest side'.These options can meet the needs of different template layouts and visual styles, allowing thumbnails to present perfectly in various scenarios.
- Thumbnail size:Based on your website template design, you can set a uniform thumbnail size. This helps maintain a tidy display of images and avoids visual confusion caused by uneven sizes.
- Batch regenerate thumbnails:If you modify the thumbnail size or processing method, or want to convert the uploaded images to WebP format to optimize loading speed (WebP image format feature needs to be enabled), AnQiCMS provides the "Batch Regenerate Thumbnails" feature.This feature allows all your article thumbnails to be processed according to the new settings, ensuring that the website images maintain the **status**.
How to call the thumbnail 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 a specific variable.For example, inarchiveListorarchiveDetailCan be used 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, the first image will be automatically extracted as a thumbnail;If the article content does not have any images, then AnQiCMS will display the default thumbnail you have configured in the content settings.This mechanism ensures the "safety net" effect of content display, avoiding the embarrassment of missing images.
By using AnQiCMS's flexible default thumbnail settings, you can easily achieve visual consistency of website content, enhance user experience, and simplify daily content operation work.
Frequently Asked Questions (FAQ)
Q1: I have set the default thumbnail, why are some articles still not displaying the default image but showing other images instead?
A1:AnQiCMS has a priority logic when processing article thumbnails.If you insert an image in the article content editor, even if you have not uploaded a "document image" as a thumbnail separately, AnQiCMS will intelligently extract the first image in the article content as the thumbnail for that article.Only when the article does not have a separate uploaded thumbnail and does not contain any images in the content, the system will enable the default thumbnail you have configured in the "Content Settings".
Q2: Why do the thumbnails of previous articles on the website not change even though I have modified the size or processing method of the default thumbnail?
A2:After you adjust the thumbnail size or processing method in the "Content Settings", these new settings will not immediately affect the thumbnails already generated.In order to apply the new settings to all thumbnails of the published articles, you need to use the 'Batch regenerate thumbnails' feature on the 'Content Settings' page.Clicking this feature will cause the system to reprocess all article thumbnails according to the latest settings.
Q3: Do the default thumbnails support WebP format? Will the images I upload be automatically converted to WebP?
A3:Yes, AnQiCMS supports WebP image format.If you enable the 'Whether to start Webp image format' feature in the 'Content Settings', then all the images uploaded after that (including default thumbnails) will be automatically converted to WebP format to optimize image size and loading speed.If the previously uploaded image is not in WebP format, you can also convert them to WebP format by using the 'Batch regenerate thumbnails' feature.