added if statements around alt and title text for fancybox