Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/moveyourdigital/wp-image-base64/archive/refs/heads/main.zipUpdates itself. It ships its own updater (Update URI header), so new versions appear under Dashboard → Updates.
WordPress Image Base64 Generation
Generate base64 encode versions of images
Installation ##
This section describes how to install the plugin and get it working.
1. Upload wp-image-base64-main directory to the /wp-content/plugins/ directory
1. Activate the plugin Image base64 through the 'Plugins' menu in WordPress
1. It will start a cron job that will generate base64 versions for existing media
1. Use wpgetattachmentmetadata, each size has a base64 key in sizes property.
1. You can also use wpgetattachmentimagebase64 instead.