frontend add fancybox support