mozilla/zamboni — pull request #273 by vaidikkp (2011-12-23 17:09:33+00:00)
Title: Image field in MonthlyPick is not mandatory. Uses screenshot (if set) or default icon when image not provided. (Bug 679187)

Fixed bug 679187.

Image field in the MonthlyPick form in admin was mandatory. According to https://bugzilla.mozilla.org/show_bug.cgi?id=661651. According to bug-661651, when no image is set, the default icon image should be displayed.

This fix first looks for the screenshot. If a screenshot for that addon is set, then that screenshot is used. Otherwise, the default addon icon image is used.