This plugin hasn’t been tested with the latest three major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

DX Webp Picture Tag Image Wrapper

Description

DX Webp Picture Tag Image Wrapper filters the content and replaces the img tags with picture tags by adding two sources – one with the image followed by .webp extension
and one with the original image.

The plugin supports jpg, jpeg and png formats

Your site needs to support Webp images

DX Webp Picture Tag Image Wrapper resolves the issue with Accept header on Safari that doesn’t include the webp format. Using the picture tag
allows the browser to render Webp images, if they are supported, without relying on that header

Screenshots

  • Activate plugin

Installation

  1. Upload ‘dx-picture-tag’ to the ‘/wp-content/plugins/’ directory or find via the Plugins admin section
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. That’s all. It would use out of the box, no settings needed. If you want to disable the functionality, disable the plugin from the Plugins section.

FAQ

Does it work for custom post types?

Yes, as long as you attach images via the Media button, they are going to be deleted once the post/post type entry is deleted.

Does it work for all of the deleted posts?

It works for all of your deleted posts, as long as you delete them from the system. Keep in mind that the soft delete sends your post to Trash first, and deleting the media would happen once your Trash is being emptied.

Reviews

There are no reviews for this plugin.

Contributors and Developers

“DX Webp Picture Tag Image Wrapper” is open source software. The following people have contributed to this plugin.

Contributors

Change Log

1.0.0

  • First release