Several image improvements

- Respect border
- Make thumb neater
- Work properly in IE 8
- Center works

Change-Id: I94ab36a181df2786e91653073d6a7ca097e1a363