Fix images not upsizing

Images under 400px wide were not properly upsizing when requesting the
thumbnail as the spec requests.