From af5702220c06a913746c9657bd33c2108d80c33f Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Wed, 27 May 2020 13:34:12 -0700 Subject: [PATCH] Added datasette-media plugin to the docs --- docs/ecosystem.rst | 5 +++++ docs/plugins.rst | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/ecosystem.rst b/docs/ecosystem.rst index 8c8785cd..4777cc16 100644 --- a/docs/ecosystem.rst +++ b/docs/ecosystem.rst @@ -97,6 +97,11 @@ datasette-json-html `datasette-json-html `__ renders HTML in Datasette's table view driven by JSON returned from your SQL queries. This provides a way to embed images, links and lists of links directly in Datasette's main interface, defined using custom SQL statements. +datasette-media +--------------- + +`datasette-media `__ adds the ability to serve media files such as images directly, configured through a SQL query that maps a URL parameter to a path to a file on disk. It can also serve resized image thumbnails. + datasette-jellyfish ------------------- diff --git a/docs/plugins.rst b/docs/plugins.rst index 50271e0a..78ad0309 100644 --- a/docs/plugins.rst +++ b/docs/plugins.rst @@ -887,4 +887,4 @@ This example plugin adds a ``x-databases`` HTTP header listing the currently att return add_x_databases_header return wrap_with_databases_header -Examples: `datasette-auth-github `_, `datasette-search-all `_ +Examples: `datasette-auth-github `_, `datasette-search-all `_, `datasette-media `_