Datasette plugin that renders binary blob images using data-uris
Project description
datasette-render-images
A Datasette plugin that renders binary blob images with data-uris, using the render_cell
plugin hook.
If a database row contains binary image data (PNG, GIF or JPEG), this plugin will detect that it is an image (using the imghdr module and render that cell using an <img src="data:image/png;base64,...">
element.
Here's a demo of the plugin in action.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.
See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for datasette_render_images-0.2a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1887d531b6f2985a48a302a031c5e2b40695ee8d8657b12589d326ebfb6fdc53 |
|
MD5 | 65adb9526ba006c0c2b7d9df080bf5be |
|
BLAKE2b-256 | 76832fbf6e3d86a8a400406ce4b1d3926769384f29da298ddbf7d0100b2f486d |