Fancy box - hide image description

Everything to do with Popus for Admiror Gallery.
Post Reply
Message
Author
Koce
Posts: 3
Joined: Thu Feb 17, 2011 10:17 pm

Fancy box - hide image description

#1 Post by Koce »

Hi there

Is it possible to hide image description from displaying at all?

First it shows the image name when you put mouse on image and then is shown bellow the popup window itself.

I know that you can change it in Image Manager - > Image Details for file: , but I was wondering if it can be disabled not to show at all.

Thanks in advance, and keep up the good work.

Admiror Gallery 5 - Fundraising Campaign

User avatar
kekeljevic
Developer
Developer
Posts: 445
Joined: Tue Aug 17, 2010 2:38 pm
Location: Novi Sad, Serbia
Contact:

Re: Fancy box - hide image description

#2 Post by kekeljevic »

Which Template would You like to have without Image Captions?

Koce
Posts: 3
Joined: Thu Feb 17, 2011 10:17 pm

Re: Fancy box - hide image description

#3 Post by Koce »

Classic with fancybox as popup engine.

User avatar
kekeljevic
Developer
Developer
Posts: 445
Joined: Tue Aug 17, 2010 2:38 pm
Location: Novi Sad, Serbia
Contact:

Re: Fancy box - hide image description

#4 Post by kekeljevic »

Classic template shows only thumbs. So You need Fancybox Popup without Captions. Actually, You can do a lot of settings with great Fancybox library, hiding Captions (Title) is one of them.

Go to /plugins/content/AdmirorGallery/popups/fancybox/ and open index.php. You will see settings for library at 19th line. Add titleShow and set it to false, like this:

Code: Select all

$this->popupEngine->endCode='
<script type="text/javascript" charset="utf-8">
        AG_jQuery("a[rel='.$this->popupEngine->rel.']").fancybox({
		 \'transitionIn\' : \'elastic\',
		 \'transitionOut\' : \'elastic\',
		 \'easingIn\' : \'easeOutBack\',
		 \'easingOut\' : \'easeInBack\',
		 \'titleShow\' : false
        });
</script>
';
If You wants to play a little bit, this are available settings:
http://fancybox.net/api

Koce
Posts: 3
Joined: Thu Feb 17, 2011 10:17 pm

Re: Fancy box - hide image description

#5 Post by Koce »

That did the trick.

Thank you very much for the help.

Hvala puno ! ;)

Admiror Gallery 5 - Fundraising Campaign

Post Reply