Release notes
First public release of the jsontoimg WordPress plugin. Editors can render named templates as signed images in posts, without exposing an API key on the frontend.
Highlights
- Settings → jsontoimg — save an API key and optional base URL, then Test connection.
- Gutenberg block — pick a template, fill schema-driven layer fields, preview the signed image.
- Set as Featured Image — download the render into the Media Library and assign it as the post thumbnail.
[jsontoimg]shortcode — same signed<img>for classic content.- PHP helpers —
jsontoimg_sign_url(),jsontoimg_render_image(),jsontoimg_list_templates()for themes.
Signed URLs use POST /api/v1/img/sign. Visitors fetch GET /api/v1/img/{template} with sig; the key never appears in HTML. The first unique GET bills once; later hits are cache hits. Minted URLs are cached in WordPress transients.
Requirements
- WordPress 6.6+
- PHP 7.4+
- API key from Integrations → API keys
Install
Upload jsontoimg.zip via Plugins → Add New → Upload Plugin (not jsontoimg-1.0.0.zip, which nests the folder). Activate, then add the key under Settings → jsontoimg.
Notes
image_urllayers need a publichttps://…file ending in.png,.jpg,.jpeg, or.webp, or an Assets path/api/uploads/files/{id}. Placeholder CDNs such as placehold.co are often blocked at render time.- Featured image works in the post/page editor on types that support thumbnails. Save the post first if the button is disabled.