Fix a bunch of stuff. Images display in original size.

Fix a bunch of stuff. Images display in original size.