mozilla-b2g/gaia — pull request #5228 by adityab (2012-09-26 13:53:33+00:00)
Title: Fix Gallery crash during thumbnail generation

This attempts to fix the blocking issue #4852.

If you try to use an image that is smaller than the 120x120 size as the thumbnail, there's a crash. Not sure why, but this avoids the crash by not using the original image as a thumbnail - just let it upscale.