Skip to content
This repository

Home 

atomical edited this page · 5 revisions

Pages 1

Clone this wiki locally

ImageDataURI is a middleware plug-in for Django that embeds images into html based upon an arbitrary filesize rule.

Install:
1. Copy imagedatauri.py into the django middleware folder.
2. Add the ‘IMAGEDATAURI_MAX_IMAGE_SIZE’ variable to settings.py. This is a number in bytes.

References:
http://en.wikipedia.org/wiki/Data_URI_scheme

Todo:
Page caching
File caching

Something went wrong with that request. Please try again.