less than ideal fix for thumbnail display on wsgi servers