Fix layout of images so that they are not inlined.