First pass at imgreveal code