First pass at image handling.