Light ring images of double photon spheres in black hole and wormhole spacetimes