add images, fix finding of nearest links to pins