blogger_media_to_base64
Convert local images to Base64 Data URI and generate a Blogger tag snippet. Embeds images permanently in posts without external hosting.
Instructions
Convert a local image file (.png, .jpg, .jpeg, .webp, .gif, .svg) into an embedded Base64 Data URI and generate a ready-to-use Blogger tag snippet. Guaranteed permanent embedding inside Blogger post bodies without external host dependencies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alt | No | Alt text description for the <img> tag | |
| style | No | Custom CSS inline style string for the <img> tag (defaults to responsive container with rounded corners and shadow) | |
| filePath | Yes | Absolute local path to the image file (e.g. '/home/user/pictures/hero.png') |