Category: Python

Resizing Django ImageField with Remote Storage

Recently I’ve been working on a project to move our photo experience to store images on Amazon’s S3 service instead of the local server, in hopes to gain performance and move away from handling the maintenance static files tend to have. There … Continue reading

Posted in Amazon S3, Django, PIL, Python
Tagged , , , ,

PIL Image from Url

Had some troubles finding what seemed to be such an easy Google search. Needed the capability to load an image based on a url. Here is my solution: [code] import urllib2 as urllib from PIL import Image from cStringIO import … Continue reading

Posted in PIL, Python
Tagged , ,

Solving django-storage NotImplementedError with Amazon S3

Recently I started looking into Amazon’s S3 service to (hopefully) offer better performance on serving up static content for our customers.  Its a great service and ridiculously cheap.  The first client I am applying the S3 storage to is for … Continue reading

Posted in Amazon S3, Django
Tagged , , , , ,