Page 1 of 1

Fancy box - hide image description

Posted: Thu Feb 17, 2011 10:56 pm
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.

Re: Fancy box - hide image description

Posted: Fri Feb 18, 2011 9:42 am
by kekeljevic
Which Template would You like to have without Image Captions?

Re: Fancy box - hide image description

Posted: Fri Feb 18, 2011 3:25 pm
by Koce
Classic with fancybox as popup engine.

Re: Fancy box - hide image description

Posted: Wed Feb 23, 2011 2:00 pm
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

Re: Fancy box - hide image description

Posted: Thu Feb 24, 2011 7:00 am
by Koce
That did the trick.

Thank you very much for the help.

Hvala puno ! ;)