In website operation, image loading speed is crucial for user experience and Search Engine Optimization (SEO).WebP is a modern image format that, with its excellent compression performance, significantly reduces file size while maintaining image quality, thereby greatly improving website loading speed.AnQiCMS (AnQiCMS) fully understands this and has built-in support for the WebP image format in its system, making it easy for users to turn it on and benefit from it.
However, after enabling the WebP feature, many users may be confused: how can the front-end page correctly display and load these WebP images, especially considering the varying degrees of support for the WebP format among different browsers?This article will discuss this issue in detail and provide practical solutions.
Enabling and impact of AnQi CMS background WebP function
First, let's understand how to enable WebP image format in the AnQi CMS background. This setting is located atBackground managementofGlobal Settings.
- Access content settings:Log in to the AnQiCMS backend and navigate to
后台设置-u003e内容设置. - Enable WebP option:In the "Content Settings" page, you will find an option named "Whether to start Webp image format". Check this option to enable WebP functionality.
- Understanding the impact after enabling:
- Automatically convert new uploaded images:After enabling WebP, all new uploaded images:
.jpg/.pngwill be automatically converted to.webpFormat and store. This means that when you insert images into the content, AnQiCMS will automatically reference these WebP formatted images. - Old image processing:Images uploaded before enabling the WebP feature will not be automatically converted to WebP. AnQiCMS provides a "WebP conversion tool" or "batch regenerate thumbnails" features (usually in
内容设置page or图片资源管理in
- Automatically convert new uploaded images:After enabling WebP, all new uploaded images: