Integrated Image controls.
Massive refactoring for image controls. image_resource.py written - now returns the URL, does resource-type checking, and generate thumbnails.