• Resolved wimsjohn

    (@wimsjohn)


    I just found this plugin and it is amazing! Sadly it broke compatibility to Webp Express. Maybe you can do sth about this?

    Thanks
    wimsjohn

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Bjoern

    (@greencp)

    I’ll give it a try, but it might take some time. I just had a quick look at WebP Express’ code. The way it creates/serves the WebP images could make it quite difficult to integrate it.

    Which option for serving WebP images do you use?

    Plugin Author Bjoern

    (@greencp)

    So the basic issue with WebP is, that it generates .htaccess files in subdirectories thus overriding WPPPs rewrite rules. So accessing a not existing image size no longer redirects to WPPPs dynamic image creation routine.

    Version 2.2.3 includes the option to add “RewriteOptions InheritDownBefore” to the rewrite rules wich basically forces all .htaccess files in subdirectories to also use WPPPs rewrite rules. So when enabled the first access to an intermediate image size, that doesn’t exist, will be redirected to WPPP and all subsequent request will be handled by WebP Express.

    You can’t use WPPPs option to save intermediate images into a different folder than the original, because then WebP Express won’t find the original.

    BTW: Now that I’ve seen how its done, I’m considering to add creation of intermediate images in WebP format directly into WPPP, including dynamic redirection for browsers not supporting WebP. Kind of a “WebP Express Lite”, as I would only integrate conversion using GD or Imagick.

    Thread Starter wimsjohn

    (@wimsjohn)

    Thanks Bjoern,

    very fast solution from your side tho! I just tested with standard Wepb Express settings after reinstall and everything works flawlessly.

    A solution with converting/serving wepb files directly would be definitely appreciated even though i won’t be able to make a use out of it. I’m on a cheapo hoster without imagemagick installed. I use ewww cloud converter to get my webp’s created.

    Anyways thank you very much for this great piece of software und sch?ne Grü?e aus dem Nachbarland ??

    PS: Enjoy your coffee!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Make Dynamic Image creation compatible to Webp Express’ is closed to new replies.