[How To] Only display captions on images with a description
Posted: Wed Mar 13, 2013 12:19 pm
Hi all I am using Admiror gallery on a website for a client and I have heavily modified it for my own use adding Highslide as a popup lightbox ect.
I just wanted to say if anyone was like me and only wanted to display captions in lightboxes on images that have an actual description rather than just the name of the image file to do this,
Open agGallery.php which is in the /plugins/content/admirorgallery/admirorgallery/classes/ folder.
And just comment out this line "$this->descArray[$f] = $f;"
This worked great for me and might save others looking.
I just wanted to say if anyone was like me and only wanted to display captions in lightboxes on images that have an actual description rather than just the name of the image file to do this,
Open agGallery.php which is in the /plugins/content/admirorgallery/admirorgallery/classes/ folder.
And just comment out this line "$this->descArray[$f] = $f;"
This worked great for me and might save others looking.