Fix unsafe divide

There is an unsafe division within `content.scala`.
Image `width` and `height` have the potential to be zero.

I am not sure what the best ratio to fallback to is, but `1` is definitely better than an `exception` which will break the whole article.

@Jholder112233 @phamann