Reduce unnecessary whitespace around images