Try a couple different ways of fixing the image link problem

One is to use scale instead of target, the other uses sphinxcontrib-fancybox