only make PhotoSwipe call if there are images to which it should apply