use Image.thumbnail for scaling

also hardcode scaling to max 300px