I have added fancybox to my site and I want to use it in the album view for a slideshow of the album photos. I have added the link to the file brows_unit.html
<div class="sys_file_search_title"><a class="image_group" rel="this_group" href="{imageOrig}" title="{title}">View in Slideshow</a></div>
That adds a link for fancybox to work off of for each image on the page.
In the file BxBaseSearchResultSharedMedia.php I added the following that is incomplete:
$aUnit['imageOrig'] = 'm/photos/get_image/original/' . file name . file ext
What I need to know is how to get the file name and extension (I allow png files to be stored) for the original image to complete the path for the link; I know it is stored using a hash and not the uploaded file name.