Announcement

#1 2012-07-18 14:34:02

IGraham
Member
UK
2011-09-28
193

Fancybox Lightbox problem

Hi
That last lot of extension updates has made a difference - thanks Grum , I'm now quite a bit closer to installing 2.4.1 on my main Piwigo installation

I  have a test Piwigo 2.4.1 + plugin updates Installation, this is where I can see if everything's ok - ore not
Still seeing compatibility problems with these plugins, though they might work regardless
Photo Update
Thumb Cropper
RV DB Integrity

One plugin that's listed as being ok is giving problems
Fancybox Lightbox producers this (below) at the top of the album photo display page and If you click the image the result is a pop up with 'the request content can not be loaded Please try later'
Notice: Undefined index: image_url in /home/sites/####.co.uk/public_html/piwigo/plugins/extension_488/main.inc.php on line 41
If you stick this bit in a Google engine 'piwigo/plugins/extension_488/main.inc.php on line 41' you'll see I'm not the only one getting this problem

Any ideas how to fix

Offline

 

#2 2012-07-18 15:53:15

flop25
Piwigo Team
2006-07-06
7037

Re: Fancybox Lightbox problem

Hello

IGraham wrote:

Thumb Cropper

this plugin is useless since the new multi-size system Check our videos : http://youtu.be/9X9IQUTzcMY?t=34s

I notify p@t for your main problem


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#3 2012-07-19 10:34:52

flop25
Piwigo Team
2006-07-06
7037

Re: Fancybox Lightbox problem

Ho sry it's Winson the author, but it's been one year without any upgrade so ...


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#4 2012-07-19 16:28:23

winson
Translation Team
China
2009-06-02
40

Re: Fancybox Lightbox problem

hi, I have fixed the issue, you can download the latest version, and now it support the piwigo 2.4.1 :)

http://piwigo.org/ext/extension_view.php?eid=488

Offline

 

#5 2012-07-19 17:57:35

IGraham
Member
UK
2011-09-28
193

Re: Fancybox Lightbox problem

Hello Winson  (and flop25)
Thanks for your efforts, everything appears to be working ok, no more unwanted stuff at top of page - the text layout under the photo has gone back to as it should be as well ?

I had my users upload at a max size of 2000px x 2000px this size was meant for downloading not viewing. Fancybox is showing this original upload size, is there a way to set one of the 'Multiple Size' sizes as the default Fancybox view size

Offline

 

#6 2012-07-20 01:38:52

winson
Translation Team
China
2009-06-02
40

Re: Fancybox Lightbox problem

hi IGraham, sorry, i forgot to set auto scale with this after I modified it, but you can modify the source code by yourself, and that's easy, just modify the plugin file:

plugins/fancybox/main.inc.php

you can find the code like:

$var143("a#single_image").fancybox({
        "hideOnContentClick": true,
        "padding":2,
        "margin":10,
        "autoScale":false
});

just change sutoScale to true:

$var143("a#single_image").fancybox({
        "hideOnContentClick": true,
        "padding":2,
        "margin":10,
        "autoScale":true
    });

by the way, you can go to the following url for the fancybox api:

http://fancybox.net/api

I have updated within piwigo extension site.

Last edited by winson (2012-07-20 01:46:35)

Offline

 

#7 2012-07-20 10:58:23

IGraham
Member
UK
2011-09-28
193

Re: Fancybox Lightbox problem

Yes that fixed it, all is now peachy with my test site - just got to gird the loins and update my main site


fancybox actual name 'extension_488' that got me for a moment ;)

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact