passing the image title to the details page