Created by: pnull
This patch makes sure that images aren't shown bigger than possible. It's now limited to the width of the parent container.