Use fancybox library for photo display. Some fixes to photo editing.