johnghiz
Forum Replies Created
-
You are welcome. @mohsinworld
All converted AVIF/WebP images are stored on your server in the /wp-content/compressx-nextgen/ folder.
All the best,
Hello @mohsinworld
CompressX automatically serves AVIF/WebP images once the conversion is successful, so you don’t need to take any extra steps.
We have checked the site you provided and can confirm that AVIF is already being served properly. Please refer to this screenshot for verification.
For future reference, you can follow this documentation to verify whether AVIF/WebP is being served on your site.
All the best,
Hello,
In my previous reply, I explained how CompressX works and the potential risks of deleting your original images. Ultimately, you will need to weigh the benefits of a better visitor experience through optimized images against the potential drawbacks of the conversion process. The final decision on whether to proceed is entirely yours.
Kind regards.
Hello,
After optimization, there is no need to manually update your images. CompressX automatically displays AVIF and WebP versions on the front-end using .htaccess rewrite rules. When a browser requests an image from your “uploads” directory, CompressX redirects the request to the “compressx-nextgen” directory instead.
Please note that if you uninstall the CompressX plugin, your site will revert to original image formats. Deleting the plugin removes the rewrite rules and configurations, preventing WebP and AVIF files from loading.
We strongly advise against deleting original images, as this process is irreversible. Furthermore, original images serve as a necessary fallback for browsers that do not yet support AVIF or WebP.
Kind regards.
Hello,
1. Yes, the AVIF and WEBP versions are deleted simultaneously whenever the original image is removed through the Media Library.
2. These files are stored on your server in the /wp-content/compressx-nextgen/ folder.
Kind regards.
Hello @stone74955
Thank you for the feedback and 5-star review! We’re thrilled to hear that you like CompressX.
Please feel free to let us know if you need any help using it.
All the best
Thank you so much for the 5-star review! We couldn’t agree more—we believe a plugin should solve a problem, not create new ones with unnecessary clutter. We’re thrilled to hear that CompressX is hitting the mark for you by staying simple and effective. Thanks for choosing us!
Hello,
This refers to the documentation regarding Media Replace, which can be found at the link below:
Kind regards.
Hello @docmartinhk
Many thanks for leaving this 5 star review to motivate us! It is great to hear that you are finding CompressX useful.
In the context of Image Quality Presets, the logic follows the standard JPEG/WebP Quality Scale where a higher value represents higher quality. This means less compression is applied, resulting in a clearer image but a larger file size. So you are correct that the current description is a mismatch.
Thanks for bringing this to our attention. We are going to correct it in our upcoming version.
All the best,
Hello @harshitmediatrenz
Thank you for the question. It is a great point to bring up.
CompressX is designed to generate filenames in the image_name.png.avif format. This is a deliberate design choice based on industry standards (often called NextGen rewrite mode) to ensure maximum compatibility and stability within WordPress.
Here are the important technical reasons for this naming convention:
- First, in the original WordPress file system, files are identified by their full name, not just the “basename” without the extension. Using image_name.png.avif allows the plugin and WordPress to clearly distinguish the original source file from the converted version, preventing conflicts or bugs in the Media Library.
- WordPress always saves image URLs in the database as image_name.png. Themes, plugins, page builders, and media references all rely on that exact URL. If we changed the filename to image_name.avif, WordPress would not automatically recognize it, which would lead to 404 errors or broken images across your site.
- CompressX uses a rewrite-based delivery approach. When a user visits your site, the browser technically requests the original image_name.png URL, and CompressX’s rewrite rules automatically serve the optimized version from the compressx-nextgen directory. This ensures the best performance without breaking your site’s database structure.
Based on the above, we believe that using image_name.png.avif is currently the safest and most compatible approach with WordPress core behavior.
All the best,
Hello @harshitmediatrenz
The error you are seeing indicates that your server environment is missing the necessary library to process AVIF images. Specifically, the PHP extension for processing AVIF conversion on your server needs to be compiled with AVIF support to function correctly.
We recommend contacting your hosting provider and asking them to enable libavif for the PHP extension on your server. You can provide them with this technical documentation for reference.
Once the library is properly installed and active, please try the conversion again and see if it works as expected.
All the best,
Hello @japenz
You are welcome. And thanks for the feedback.
I have included your suggestion in my weekly report for the team to review and consider. We are going to keep you posted on any updates.
All the best,
Hello,
If you use another plugin to resize your images first and disable the ‘Max dimensions’ setting in CompressX, you can then run the CompressX functions normally. CompressX will detect the current image dimensions and proceed with the conversion.
Kind regards.
Hello,
The CompressX plugin only loads its CSS on its own pages and a small CSS snippet on the Media Library page; it does not load CSS on any other pages. We have currently been unable to reproduce this issue in our own testing environment. Would you kindly send the debug information to our support email at support(a)compressx.io please? We will analyze it thoroughly to identify the issue. Thank you in advance for your cooperation.
To ensure efficient tracking of your thread, we kindly ask you to include the link to the thread in your email.
Kind regards.