Fix a leftover in onClick
Specify both width and height when resizing a photo (an IE bug)