Generate WpGraphql Image DataUrl

plugin banner

This plugin Generates DataUrl of MediaItem in WPGraphQL

Author:Dipankar Maikap (profile at wordpress.org)
WordPress version required:5.0
WordPress version tested:5.9
Plugin version:1.0.2
Added to WordPress repository:01-02-2022
Last updated:01-02-2022
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:https://github.com/dipankarmaikap/wp-graphql-...
Total downloads:2 465
Active installs:40+
plugin download
Click to start download

This plugin Generates DataUrl of MediaItem in WPGraphQL.

This is an extension to the awsome WPGraphQL plugin (https://github.com/wp-graphql/wp-graphql) that Generate DataUrl of MediaItems.

If you are working with Headless WordPress and NextJS you can notice that NextJS don’t offer BlurUp image like GatsbyJS by default. You have to pass a base64 dataUrl in to make it work.
Or you will see a blank space until the image loads. This plugin adds a dataUrl on each media item so you can use it as a placeholder until the image fully loads and NextJS will also create the fade/BlurUp Effect like in GatsbyJS.

Returning DataUrl for:

  • MediaItem