Somes images not converted
-
Hello
Im trying the plugin, converted all the images from uploads|plugin|themes folders, it worked but some of them are not converted, checked the network tab to verify and i can still see some of them with type jpg/png from uploads folder
In wp admin, some of those images have no optimization gains despite saying it converted some files
Can you help? Thank you!
The page I need help with: [log in to see the link]
-
Hi @antoniofourmark,
Thank you for your message.
Could you please send me the URLs of those images that have not been converted? I’ll check it.
Best, Mateusz
Sure, theres 10 images i can check on network that did not convert, i think 1 of them comes from theme folder (which is checked and optimized from admin)
Images: https://ctxt.io/2/AACQMeSUFw
@antoniofourmark Unfortunately, this link has expired.
However, I checked that you are using Pass Thru mode on your website. May I ask why you are using Pass Thru mode instead of the default via .htaccess mode? I recommend setting the default and recommended mode. Then everything should work fine.
Im using pass thru as per hosting guidance since other methods won’t work with their server settings
@antoniofourmark Why?
Using the default method we were getting errors about nginx cachin/reverse proxy and it wouldn’t work, we told hosting about it and they said:
the problem for using the plugin is not the Nginx cache, but the mere fact of using a reverse proxy. Plugins that try to selectively serve webp images based on the visitor’s browser have to use rather special configurations to do so, and that conflicts with using reverse proxies, a technique used to improve web performance.
If you are using this plugin:
https://ww.wp.xz.cn/plugins/webp-converter-for-media/
the solution is simple, in “Advanced Settings” make sure to check the “GD” and “Pass Thru” options; this way you should be able to use it normally.@antoniofourmark Hosting response is wrong. Using the Pass Thru mode is not an optimal solution. This mode has its limitations and does not support all images.
The error message in the plugin settings gives exact instructions on what to do to fix the problem with the proxy server. I’m sorry that hosting technical support thinks this way, but it’s not an optimal solution – they should disable the proxy server entirely or exclude the image files from being handled by the proxy server.
Im letting them know this, see whats their response and will get back to you
Alright, hosting says Pass Thru mode is the configuration they have confirmed it works with their servers and it is working properly in the site because most images are being converted so it isn’t a server problem according to them
Some of those images that are not converted come from Revolution Slider if that helps
@antoniofourmark I wrote you my opinion – do you trust the hosting technical support or the plugin author more?
I recommend you the most optimal solution. Hosting support sometimes doesn’t feel like changing the server configuration and it’s better to blame them on the plugin. The Pass Thru mode is not as good as the default mode because the images are loaded by the PHP file, which is a slower solution.
I trust whoever helps me fix the problem.
Yes, usually hosting is reluctant to change server configuration, i think that applies to most hostings…
Anyway even if Pass Thru is not as good as the default mode, that means it can leave some images out or it only has worse performance? If it can leave images out of the conversion then ill try to press them on change server settings.
Thank you!
@antoniofourmark Pass Thru mode skips some images, and for those for which it works it is slower. It’s not a perfect solution – it’s an alternative only when there’s really nothing you can do. In 99.9% of cases, it is possible to configure the server so that the plugin can work without problems.
So hosting did the changes to the server, i can see now that pagespeed complains less, but theres still some images in their original type
is there something else i can do or do i need to reupload those images in webp since the plugin cant convert them?
@antoniofourmark Yes you are right. Your images have been compressed before. Here is an example of one image that has not been converted to WebP. The file has a high resolution of 1903x750px and a small weight compared to the resolution – 365 kB. When converted to WebP, this image is not smaller and therefore the original file is used.
The solution is to use the AVIF format. Images in AVIF format on your website will weigh 48% less than images converted to WebP. The above file (slide01-1.jpg) in the original weighs 365 kB, and converted to AVIF will weigh only 176 kB. You can find the full report here.
Alright, thanks for the clear explanation, it makes sense that it does not convert images that weighs the same.
The avif format is quite optimized but we will consider upgrading if we encounter a slow website with big images, for now the free version is enough for us.
One more thing before closing the thread, is it possible it converts the images even if they weigh the same? Pagespeed mainly complains about the file type, so if that would be possible it would be nice.
Thank you!
The topic ‘Somes images not converted’ is closed to new replies.