We should know the dimensions of both images, and they should be hidden in the root of the body until loaded.