pip install thumbor
ini
ALIASES = {
'my_alias': 'http://example.com/static/images',
}
SECURITY_KEY = 'your-security-key'
python
from thumbor.server import ServerParameters
from thumbor import config
config_path = './thumbor.conf'
params = ServerParameters.from_customization_module(config_path, 'MY_CUSTOMIZATION_MODULE')
server = create_server(params)
server.start()
python start_thumbor.py