Disable using filename as default image description

Admiror Gallery is free extension for Joomla! 1.6. Joomla! 1.7 and Joomla! 2.5 based websites. Admiror Gallery is all in one, a simple and instant solution for rendering image gallery from folder with images, but very flexible and adaptable.
Post Reply
Message
Author
Ira13
Posts: 6
Joined: Mon Mar 04, 2013 10:21 am

Disable using filename as default image description

#1 Post by Ira13 »

Using Gallery Template-Classic galleys and Popup Engin - Piroboks.
Please tell me, can disable the standard description to the photos? So if it is not specified, then nothing is output.
Last edited by Vasiljevski on Thu Mar 07, 2013 10:09 pm, edited 1 time in total.
Reason: Renamed fot better description of the problem and solution :)

Admiror Gallery 5 - Fundraising Campaign

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: Description

#2 Post by Vasiljevski »

Yes, but you need to edit : [joomla]plugins\content\admirorgallery\admirorgallery\classes\agGallery.php LINE:407

Code: Select all

                    // Set image name as imageDescription value, as predifined value
                    $this->descArray[$f] = $f;
and change it to:

Code: Select all

                    // Set image name as imageDescription value, as predifined value
                    $this->descArray[$f] ="";
So now, if there is no specific description none will be displayed.
Help Admiror Gallery become even better,
give us a review on JED

Ira13
Posts: 6
Joined: Mon Mar 04, 2013 10:21 am

Re: Disable using filename as default image description

#3 Post by Ira13 »

Thank you very much, now when I points to the photo is not description, but in the Popur appear link.

Ira13
Posts: 6
Joined: Mon Mar 04, 2013 10:21 am

Re: Disable using filename as default image description

#4 Post by Ira13 »

Edited file pirobox.js, everything works.

Post Reply