Skip to content

Releases: jsontoimg/wordpress

jsontoimg for WordPress 1.0.0

Choose a tag to compare

@balajimalathi balajimalathi released this 08 Sep 18:33
5bf2f1a

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 helpersjsontoimg_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

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_url layers need a public https://… 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.