Refactored images views as class based views
Make image model configurable in views
Updated URLs in image templates