Title: WebP support
Last modified: June 3, 2019

---

# WebP support

 *  Resolved [thibautdzebayi](https://wordpress.org/support/users/thibautdzebayi/)
 * (@thibautdzebayi)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/webp-support-12/)
 * Hi guys,
 * I’m using shortpixel on my wordpress, which convert my jpg to webp, changing 
   the markup to <picture></picture>. The problem is venobox won’t work with this
   markup.
 * How could I solve that ?
 * Thank you !

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [thibautdzebayi](https://wordpress.org/support/users/thibautdzebayi/)
 * (@thibautdzebayi)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/webp-support-12/#post-11599410)
 * Ok, i’ve just replaced
 * `return /[.](png|gif|jpg|jpeg)$/.test(this.href.toLowerCase());`
 * by
 * `return /[.](png|gif|jpg|jpeg|webp)$/.test(this.href.toLowerCase());`
 * in /plugins/venobox-lightbox/js/venobox-init.js
 * Quick fix, not sure if it has some consistency, but it works !
 * I really appreciate a native support for webp, as venobox is my favourite lightbox
   so far !
 *  Plugin Author [neilgee](https://wordpress.org/support/users/neilgee/)
 * (@neilgee)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/webp-support-12/#post-11605930)
 * Yes that fix will do it, will include webp it in the next update.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WebP support’ is closed to new replies.

 * ![](https://ps.w.org/venobox-lightbox/assets/icon-256x256.jpg?rev=1692928)
 * [VenoBox Lightbox](https://wordpress.org/plugins/venobox-lightbox/)
 * [Support Threads](https://wordpress.org/support/plugin/venobox-lightbox/)
 * [Active Topics](https://wordpress.org/support/plugin/venobox-lightbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/venobox-lightbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/venobox-lightbox/reviews/)

## Tags

 * [webp](https://wordpress.org/support/topic-tag/webp/)

 * 2 replies
 * 2 participants
 * Last reply from: [neilgee](https://wordpress.org/support/users/neilgee/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/webp-support-12/#post-11605930)
 * Status: resolved