uncomment trimming of id property
check for photoId in queryString and load images in data and start slideshow based on photoId