Forum Replies Created

Viewing 15 replies - 1 through 15 (of 1,100 total)
  • Plugin Author rosell.dk

    (@roselldk)

    I have started a github discussion on the topic here: https://github.com/rosell-dk/webp-express/discussions/605

    You are all welcome to join the discussion

    Plugin Author rosell.dk

    (@roselldk)

    Hi,

    Cool. I have been wanting to add that feature for a while, but life came across that plan.

    You are of course free to fork. It is open source. And it is in the spirit it was created. I actually just want to make it easy for folks to start using the better formats and that way make my contribution to making the world a little better.

    But you are right. It would be preferable with a plugin that handles both formats. I would like to implement AVIF support in WebP Express. I’m however not sure when I will have the time. Things are lightening up, though, so it could be I will get time in a not-too-far future. On the other hand, what I originally had in mind is perhaps overly complex. My plan was to support both at the same time so you could set it up to convert both to AVIF and WebP and have it serve AVIF with fallback to WebP with fallback to jpeg/gif. Such an implementation is probably going to be rather heavy in development time and might be more time consuming that I want to use my time for.

    As it is uncertain when and even if WebP Express will support AVIF, I think it makes sense that you publish your work. At least on github, but you are also welcome to publish on WordPress. If you do submit to WordPress, you should however either be prepared to maintain it or clearly state that it is not going to be maintained. Or perhaps state that it is meant to fill the gap until WebP Express (hopefully) supports AVIF and will only be maintained until that happens.

    I don’t know if you discovered, but I did come so far with AVIF support as to make a new library meant to replace the “webp-convert” library – it is called “image-convert” (https://github.com/rosell-dk/image-convert). It is based on webp-convert, but can convert between many image formats, including avif. If you have a new conversion method for avif, that this library does not already have, I would like to add it to image-convert ?? This will be possible for me, if you publish your work to github. You are of course also more than welcome to implement it directly in image-convert (create a pull request)

    Plugin Author rosell.dk

    (@roselldk)

    Fixed in 0.25.8

    Plugin Author rosell.dk

    (@roselldk)

    ok, thanks. I will look into it

    Plugin Author rosell.dk

    (@roselldk)

    Hi,

    Thanks for reporting and sorry for the delay. The bug has been fixed in the new release (0.25.7)

    Plugin Author rosell.dk

    (@roselldk)

    Hi,

    Thanks for reporting and sorry for the delay.
    The bug is fixed with the new release (0.25.7)

    Plugin Author rosell.dk

    (@roselldk)

    Thanks for reporting and sorry I have been unavailable (and largely still is).

    @andr777 : The path you pasted ends with a “1” (“.webp1”). Is the “1” in the log, or did you put it there by mistake?

    Plugin Author rosell.dk

    (@roselldk)

    It is probably redirection rules that haven’t been removed.
    If you / your webmaster created redirect rules manually, remove them.

    Redirect rules created by WebP Express are removed automatically. However, it might be that this failed. You can try to disable .htaccess redirection rules in WebP Plugin before uninstalling. This should remove the .htaccess files (or let you know if removing the files did not succeed). You can also delete the files manually. Note however that they are stored in multiple locations

    Plugin Author rosell.dk

    (@roselldk)

    Yes, development and even maintenance is unfortunately interrupted due to personal reasons. I do have intention to return to return maintenance as soon as things clear up. It is more uncertain if I will continue to add new features.

    • This reply was modified 2 years ago by rosell.dk.
    Plugin Author rosell.dk

    (@roselldk)

    WebP Express does not create backup files or jpg thumbnails. 1) and 2) must be due to another plugin. I had plans to create a more flexible way to bulk convert in the file manager interface but ran low on finances and got myself a full time job so unfortunately I will proablt not be able to implement new features. I shall however continue to maintain the plugin. The plugin is open source and I gladly inspect and merge contributions

    Plugin Author rosell.dk

    (@roselldk)

    It seems to be. I will need to test it more systematic before marking it as compatible

    Plugin Author rosell.dk

    (@roselldk)

    Ok.

    In the meantime, I have been digging into how the mime type dectection can fail and found something. When the image-mime-type-guesser library fails to sniff the file type, it falls back to guessing from file extension. That part of the code was failing in this case, because it wasn’t case insensitive. I’m going to fix that: https://github.com/rosell-dk/image-mime-type-guesser/issues/27

    Plugin Author rosell.dk

    (@roselldk)

    It seems the problem is that the image type of the image you are trying to convert cannot be determined. For security reasons, webp-convert, which WebP Express uses for converting will abandon when it cannot verify that it is an image it is going to convert.

    But I’m very surprised that this happens. webp-convert is using a library, image-mime-type-guesser, for detecting the mime type. image-mime-type-guesser has been well tested and should definitely not fail detecting a jpeg. I have added the jpeg that the self-test in WebP Express uses (very-small.jpg) to the unit testing in image-mime-type-guesser and it has no problems detecting it as a image/jpeg.

    image-mime-type-guesser uses image-mime-type-sniffer as one of the methods of detecting mime type. That method does not rely on server setup. It does not detect all image signatures, but it does recognize jpeg.

    So… I’m baffled!

    • This reply was modified 2 years, 6 months ago by rosell.dk.
    Plugin Author rosell.dk

    (@roselldk)

    Correct. It puts massive load on the server on a visit to a page with many images that hasn’t been converted yet.

    I suggest you do a Bulk Convert by pressing that button on the settings page.
    You can also trigger bulk conversion with WP CLI.

    The plugin doesn’t currently support converting in the background. I have been wanting to implement it, but haven’t gotten around to do it yet.

    Plugin Author rosell.dk

    (@roselldk)

    Fixed in 0.25.4, which I just released.

    Sorry about the bug!

Viewing 15 replies - 1 through 15 (of 1,100 total)