WordPress.org

Ready to get started?Download WordPress

Forums

wp-webp Plugin
[resolved] Please update for new webp version support (17 posts)

  1. Neolo7
    Member
    Posted 1 year ago #

    Please update for new webp version support. Pictures encoded as -lossless using official tool cwebp with transparency are not showed by this plugin. Only encoded with -af are works but quality is poor in this case.

    http://wordpress.org/extend/plugins/wp-webp/

  2. tuxlog
    Member
    Plugin Author

    Posted 1 year ago #

    Thank you for this hint.
    since I am using webpjs for decoding I can only support what its in there. Is there a newer version of webpjs? I haven't found it.

    The only thing I know is the preview: http://libwebpjs.hohenlimburg.org/v0.2.0/

    But I can not fetch the code. Any ideas?

  3. Neolo7
    Member
    Posted 1 year ago #

    Simple look into source code of that page. Here is it: http://libwebpjs.hohenlimburg.org/v0.2.0/js/libwebp-0.2.0.min.js

  4. tuxlog
    Member
    Plugin Author

    Posted 1 year ago #

    Thank you for this link. I downloaded it and will try to integrate it soon.

  5. Neolo7
    Member
    Posted 1 year ago #

    Can't wait for it :D
    Because I used Opera with native support for all my new articles where I used webp images and noticed it later that nothing works in other browsers even with plugin.

  6. tuxlog
    Member
    Plugin Author

    Posted 1 year ago #

    You can fetch the 0.5 of wp-webp which has experimental support for libwebp-0.2. At the moment only the img tags with webp contents are decompressed and displayed.

    Please try it.

  7. Neolo7
    Member
    Posted 1 year ago #

    Tried, nothing changed... Images are not displayed and in page source I still see
    webpjs-0.0.2.min.js?ver=0.0.2' instead of 0.2

  8. tuxlog
    Member
    Plugin Author

    Posted 1 year ago #

    Did you change the settings under Settings->General to use the libweb?

  9. Neolo7
    Member
    Posted 1 year ago #

    Just enabled experimental option. webpjs 0.0.2 no longer loaded but nothing else now too. Even with forced js usage still nothing. (Mac, Safari)

  10. tuxlog
    Member
    Plugin Author

    Posted 1 year ago #

    Well, seems to work here.
    What about
    http://libwebpjs.hohenlimburg.org/webp-experiment/lossless/libwebp-javascript-lossless-decoder.html
    and
    http://www.tuxlog.de/allgemein/2012/webp-format-test/

    Can you see this?

    I tested with chrome and ff. Maybe a mac problem with the library?

  11. Neolo7
    Member
    Posted 1 year ago #

    I can see everything on first link. And on a second except embedded and object tag.
    FF, GH, Opera are with native support browsers -_-.
    I cen't see that new js library even loaded.

  12. tuxlog
    Member
    Plugin Author

    Posted 1 year ago #

    great, so it seems to work.

    If you want to check if libwebjs is loaded you have to take a look at the source code an search for libwebjs.

    One time you will finde something like:
    <script type='text/javascript' src='http://www.tuxlog.de/wp-content/plugins/bwp-minify/min/?f=wp-includes/js/jquery/jquery.js,wp-content/plugins/smooth-slider/js/jcycle.js,wp-content/plugins/wp-monalisa/wpml_script.js,wp-content/plugins/wp-webp/webpjs/libwebp-0.2.0.min.js,wp-content/plugins/wp-webp/webpjs/libwebpwrapper.js,wp-content/plugins/wp-forecast/wpf_update.js,wp-includes/js/swfobject.js&ver=4'></script>
    which tells you that bwp minify is used and loads libwebp and on the other site you will find

    <script type="text/javascript" src="js/libwebp-0.2.0.min.js"></script>

    which is probably self explaining.

    By the way are you sure FF support lossless webp native?
    I will have to check this.

  13. Neolo7
    Member
    Posted 1 year ago #

    I know how to check if it's loaded but it's not!
    Ah no, I mistaken about FF, I can see my images with plugin uninstalled only in Opera and GH.

  14. Neolo7
    Member
    Posted 1 year ago #

    Any news?

  15. tuxlog
    Member
    Plugin Author

    Posted 1 year ago #

    still trying...

  16. industrialmanlifts
    Member
    Posted 1 year ago #

    Conversion of all photos complete. What is the best way to update image format on site so to not break linking to pages/post?

    Thank you.

  17. tuxlog
    Member
    Plugin Author

    Posted 1 year ago #

    see your other thread for this question :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic