• Resolved adroo

    (@adroo)


    Hi there, just a question about a specific use-case for this plugin, that I was wondering someone could determine if it was possible please:

    To be able to select all .jpg files in my media library for bulk conversion into WebP. I already have a bunch of WebP images that don’t need conversion. And I didn’t want those new WebP files stored anywhere else such as on a CDN. They should replace the existing jpgs in a “media replace” type operation and the thumbnails and different sizes could be regenerated too around WebP.

    [gallery link="file" size="medium" columns="4" ids="32347,32351,32356,32362"]

    This enables me to keep all the image shortcodes (such as above) intact without any htaccess usage or “serve from front-end” tweaks. I’ll just assume the client can display WebP otherwise too bad.

    Yet, I may choose AVIF instead.

    I’d need about 88,000 credits to do that at present and don’t need further conversions down the road once the bulk conversion is done and may uninstall the plugin.

    So can this plugin do all this right now – specifically the media replace operation, as I wanted to minimize site and code changes?

    Thank you.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Hi @adroo,

    Thank you for your message.

    Our plugin does not alter or delete your original images. The principle of operation of the plugin is different:

    When a browser tries to download an image file, the plugin checks if it supports the AVIF format (if enabled in the plugin settings). If so, the browser will receive an equivalent of the original image in the AVIF format. If it does not support AVIF, but supports the WebP format, the browser will receive the equivalent of the original image in WebP format. In case the browser does not support either WebP or AVIF, the original image is loaded. This means full support for all browsers.

    Please also remember that the website files (WordPress files) and the images from the Media Library must be on the same server. If they are, everything should work fine. If you want to physically store these files on another server, it may not work properly.

    Best,
    Mateusz

    Thread Starter adroo

    (@adroo)

    OK, well one reason for me to use the plugin is cut down on data usage on the shared server, and to me that’s more important than compatibility, and WebP is near ubiquitous anyway. Seems like data usage will increase with this plugin – unless it can auto-delete source files after the new files are created.

    thanks.

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @adroo Our plugin is not used to optimize the amount of disk space used, it is only used to optimize the weight of images loaded on the website, which makes the website load faster.

    Thread Starter adroo

    (@adroo)

    OK, it might be worth creating a new plugin for that and you could ask a few webhosts that specialize in wordpress if they want to offer it to all their customers. It could end up on their features page for customers.

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @adroo Our idea was that we didn’t want to modify or remove the original images. This is dangerous because such surgery cannot be reversed.

    Thread Starter adroo

    (@adroo)

    If it matters, I used the free version of UpdraftPlus https://www.ads-software.com/plugins/updraftplus/

    and it was able to archive the entire Uploads folder (of images) into a set of files totalling 20GB that sat in its own folder. From there I could restore it back (I didn’t try.) .. or I could’ve uploaded into cloud or downloaded locally.

    Interestingly, I ran the same plugin on another wordpress installation on another host and it was able to remotely access that backup folder on the source host to allow an incoming migration of all the images.

    https://updraftplus.com/forums/topic/cant-connect-via-ftp-or-sftp/#post-282925

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @adroo I understand, so you found a solution for your case, right?

    Thread Starter adroo

    (@adroo)

    Not yet, but working on it.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Specific use case for Bulk Optimization’ is closed to new replies.