Images successfully load from database

INCLUDES MINIFIED JS

Has fallbacks if CSP is on

Signed-off-by: Matt Rayner <matt@mattrayner.co.uk>