I have taken over the development of a website that has been built on a custom CMS.
The website has an photo gallery setup which allows the administrator of the site to add new photos using a simple form which writes to a MySQL database. PHP code then reads the entries from the database and renders the relevant pictures for the gallery.
The gallery is currently setup so that it displays a thumbnail for each picture, once the thumbnail is clicked on, the user is taken to a new page that displays the full picture.
The client wants to integrate the jQuery lightbox into the site so that the user is not directed away from the gallery page to view each image.
I have integrated jQuery lightbox onto the site but am having difficulty re-writing the code so that the hyperlink is correct.
You can view the site here http://rivierajoinery.com.au/v2/gallery.php?cid=1
This is the sourcecode for the gallery page
Anybody able to provide some suggestions to get this working?