Feature #400 - Resize images to fit on page
authorJoar Wandborg <git@wandborg.com>
Sat, 2 Jul 2011 23:30:07 +0000 (01:30 +0200)
committerJoar Wandborg <git@wandborg.com>
Sat, 2 Jul 2011 23:30:07 +0000 (01:30 +0200)
commit93214d8e0287150aef3f4370237303bc73ec448c
tree3c6c49a9179d7402cf82df43c7cd2ea1f5cd3464
parentfe5f8a281a3cd5d2e449866caaa410b06e488588
Feature #400 - Resize images to fit on page

*   `mediagoblin.process_media.__init__`
    *   Added `medium` size image conversion
    *   Updated `thumbnail` conversion to use `queued_filename` instead
        of `queued_file`
*   `media.html`
    *   If there exists a `medium` size for the `MediaEntry`, it will
        display instead of the original `main` image.
mediagoblin/process_media/__init__.py
mediagoblin/templates/mediagoblin/user_pages/media.html