Generate base64 encode versions of images
Contributors: lightningspirit
Tags: image, media, base64, custom
Requires at least: 6.7.1
Tested up to: 6.7.1
Requires PHP: 7.4
Stable tag: 0.2.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
This section describes how to install the plugin and get it working.
- Upload
wp-image-base64-main
directory to the/wp-content/plugins/
directory - Activate the plugin
Image base64
through the 'Plugins' menu in WordPress - It will start a cron job that will generate base64 versions for existing media
- Use
wp_get_attachment_metadata
, each size has abase64
key insizes
property. - You can also use
wp_get_attachment_image_base64
instead.