Skip to main content

Problem with upload some images

Hi,

Please try to upload this image to any post or comment: https://community-voicie-pullzone.b-cdn.net/fluentcom-b27905c70ca6360287c5545297ab8121-fluentcom-fluentcom-94aa6df61cebf7abbb9de1c4a45dee34-fluentcom-Zrzut-ekranu-2025-08-12-o-17.21.27.png. It takes around 2-5 minutes to finish uploading. Other PNG (non-illustration) images work fine and upload in seconds.

I suspect this is caused by the compression to WebP step in the upload pipeline.

As a temporary workaround, I’ve used the following code to disable both resize and WebP conversion for uploads via Fluent Community, which solves the problem immediately:

<?php
/**

  • FC: Disable resize and WebP conversion for uploads (only for the Fluent Community endpoint)
    */
    add_filter('fluent_community/media_upload_resize', 'return_false', 10);
    add_filter('fluent_community/convert_image_to_webp', '
    return_false', 10);

// (optional) log to confirm filter is firing:
add_filter('fluent_community/convert_image_to_webp', function($convert, $file){
error_log('FC filter fired for: ' . ($file['type'] ?? 'unknown'));
return false;
}, 9, 2);

Could you please check if the WebP conversion logic could be optimized for such PNG illustration files, so we can keep WebP enabled without these long delays?

Thanks!

Jonathan Gwyer

That is a big image, considering it's just an illustration. 2.38MB - tinypng.com takes it down to 875KB

Ryk Melck

Jonathan GwyerΒ and webp images is only 31kb. But I agree, it should be way smaller than that.

It should not take that much time if your server is decent and php gd library installed which should be installed by default to any server. Which hosting are you using and what’s the resource look like

Jonathan Gwyer

Shahjahan JewelΒ don't know if it's something about that image in particular, but I tried downloading and posting on one of my communities (and this one!) and had the same problem.

Dawid Kotrys

Shahjahan JewelΒ I have SH3 NVME from this company: https://seohost.pl/hosting

I know that this file is to big, but users don't care about it:) After compression to webp it have 20x less. Bigger images are uploading much faster. It's not about size but what is on the graphic. For now I disabled webp compression on a plugin level as I mention but this is not way to solution.