Add handy image-viewing functions.