The photo download path was abstracted, and the call for download images is now done via AJAX. Still need to implement email functionality and a dialog to confirm image download.