Hello! We are online right now 15:32:48

The support team is online and will be able to answer your inquiries. Please stay calm, follow the rules and do not cross post. We'll attend to you as soon as we can.

Official support hours are from 8:30AM — 5:00PM Monday to Saturday (GMT +7)

I bought what now?

gabi vegas
how i use gallery anywhere
i Bought this plugin and i installed
what now!

How do I insert Flickr gallery into article ???

13 replies

JLexArt
Hello,
To center the gallery, you can do:
- Open file galleryanywhere.php at: [path_your_site]/plugins/system/galleryanywhere.php
- In line 288, you will see:
$this->script [] = '//ajax.googleapis.com/ajax/libs/jquery/1/jquery.js';
Now, you will insert script:
/* Center */
if ($parts [1] == 'folio') {
$js .= "Galleria.ready(function() {

       var thumbcont=this.$('thumbnails-container'),
       thumb=this.$('thumbnails-list'),
       thumbw,thumbmarg,left,contw,
       center=function(){
           contw=thumbcont.width();
           left=((contw-Math.floor(contw/thumbw)*thumbw)/2+thumbmarg)+'px';
           thumb.css('left',left);
       };
       this.bind('thumbnail', function(e) {
           if (!thumbw) {
               var thumbp=$(e.thumbTarget).parent();
               thumbw=thumbp.outerWidth(true);
               thumbmarg=(parseFloat(thumbp.css('margin-right'))-parseFloat(thumbp.css('margin-left')))/2;
               center();
           }
       });
       $(window).bind('resize',center);
   });";
}

before above line.

Result are:
/* Center */
if ($parts [1] == 'folio') {
$js .= "Galleria.ready(function() {

       var thumbcont=this.$('thumbnails-container'),
       thumb=this.$('thumbnails-list'),
       thumbw,thumbmarg,left,contw,
       center=function(){
           contw=thumbcont.width();
           left=((contw-Math.floor(contw/thumbw)*thumbw)/2+thumbmarg)+'px';
           thumb.css('left',left);
       };
       this.bind('thumbnail', function(e) {
           if (!thumbw) {
               var thumbp=$(e.thumbTarget).parent();
               thumbw=thumbp.outerWidth(true);
               thumbmarg=(parseFloat(thumbp.css('margin-right'))-parseFloat(thumbp.css('margin-left')))/2;
               center();
           }
       });
       $(window).bind('resize',center);
   });";
}
$this->script [] = '//ajax.googleapis.com/ajax/libs/jquery/1/jquery.js';


Done! :)
Marcin
BOX does not display the wizard adding the gallery.
Turn plugin and everything hangs. Duplicates the meeting Joomla 2.5

Appendix bought on 3 web pages.
JLexArt
You can give permission to access admin area. We will help you (Please use ticket system : http://joomla-extensions.info/ticket) :)
Be sure turn on this plugin !!
Thank you!
Reply to

Sign in to your account

Use your social accounts to sign in