Fancybox extension

Discuss PivotX 2.0.x extensions here, and view extensions that are available for download.

Re: Fancybox extension

Postby ljhelbo » Sat Nov 26, 2011 8:23 am

Oh, thanks - no I didn't - will try that out
ljhelbo
 
Posts: 104
Joined: Sat Feb 26, 2011 2:58 pm
Location: Denmark

Re: Fancybox extension

Postby habbekak » Tue Feb 21, 2012 3:02 pm

Hello,
How can I adjust the width of the popup? I thought with objwidth, but it doesn't worked.
Follow me on twitter, so you can check my time line.....
www.twitter.com/habbekak
habbekak
 
Posts: 46
Joined: Sun Jan 24, 2010 10:56 am
Location: Petten (NL, North-Holland)

Re: Fancybox extension

Postby Harm10 » Tue Feb 21, 2012 3:51 pm

objwidth is only meant for certain fb_types (see documentation) for all others width should work.
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2010
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Re: Fancybox extension

Postby Harm10 » Tue Feb 21, 2012 7:28 pm

Harm10 wrote:objwidth is only meant for certain fb_types (see documentation) for all others width should work.
Sorry this isn't correct. objwidth is used for popupsize of types youtube, vimeo and text. If you do not specify objwidth for these types the value of width is used. The value of width is also used with all types to potentially overrule the size of the thumbnail (so not the popup). For type iframe it is dependent on the fb_profile. For all other types (like image) it is automatically deduced by fancybox. In essence the size of an image popup is dependent on the image itself. I know, a bit complicated. Maybe you should add the type we're talking about?
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2010
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Re: Fancybox extension

Postby habbekak » Tue Feb 21, 2012 8:33 pm

Hello Harm,
We are talking about the popup width for a iframe.
I want to adjust the width of the popup, so that the embed page will fit.
Follow me on twitter, so you can check my time line.....
www.twitter.com/habbekak
habbekak
 
Posts: 46
Joined: Sun Jan 24, 2010 10:56 am
Location: Petten (NL, North-Holland)

Re: Fancybox extension

Postby Harm10 » Tue Feb 21, 2012 11:19 pm

Currently there is no option to influence the profile used for iframes. So the only thing you can do right now is locating snippet_fancybox.php in extensions/fancybox and finding this line
Code: Select all
$fbifram .= "'width': '75%', 'height': '75%', ";
and changing it to your own liking. Obviously all other fancybox iframes will have the same setting then.
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2010
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Re: Fancybox extension

Postby streeff » Tue Mar 20, 2012 2:56 pm

Weird.

Fancybox seems to give a proper result in the browsers on my Mac (Safari, Chrome, Firefox), but on Firefox & Chrome (my friend's Mac) it only shows the large jpg on a black background instead of a popup.

Is this a known issue, anybody have a clue? Conflicting PivotX extensions maybe?

(e.g. click on small images on http://www.streeff.nl/entry/63/website- ... /portfolio )
Evert Albers, Streeff - web // branding // information design - Amersfoort & Amsterdam, NL
Site: http://www.streeff.nl
User avatar
streeff
 
Posts: 146
Joined: Sat Jul 25, 2009 9:28 pm
Location: Amersfoort, NL

Re: Fancybox extension

Postby Harm10 » Tue Mar 20, 2012 4:28 pm

Maybe you could upgrade to 2.3.2 and also Fancybox and try again?
We are talking about the same site on different machines?
The black page you are talking about sounds like Thickbox and Fancybox is supposed to replace it when switched on.

BTW your mail address is readable in the page source.........
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2010
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Re: Fancybox extension

Postby hansfn » Tue Mar 20, 2012 8:23 pm

Firefox & Chrome (my friend's Mac) it only shows the large jpg on a black background instead of a popup.

This sounds like it could be a caching issue. Has your friend tried your site before? Clear the cache/make a hard refresh - Ctrl-F5.

PS! You know that Chrome has developer tools installed? Hit F12 and check the console (after refreshing the page). You'll probably see a JavaScript error (if clearing the cache didn't help.)
hansfn
Developer
 
Posts: 3278
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: Fancybox extension

Postby dwaas » Mon Apr 09, 2012 2:34 pm

Hi,

Since I upgraded this extension to the latest version (i don't know which version i had before), i have had a problem.

It used to be that when i put in a pop-up picture, my thumbnail would resize to width 350px (and corresponding height with constrained proportions) when i used the thumbnailgenerator "vrije uitsnede" and selected the whole picture.

Now when i put in a pop-up picture and use the thumbnailgenerator "vrije uitsnede" and select the whole picture, my thumbnail doesn't get resized at all.

For now I just download all the thumbnails, resize them manually to width "350px" and upload them again. But is there an easier way?

Kind regards
User avatar
dwaas
Contributor
 
Posts: 93
Joined: Mon May 19, 2008 9:11 am
Location: Maastricht, The Netherlands

PreviousNext

Return to 2.x Extensions

Who is online

Users browsing this forum: No registered users and 2 guests

cron