Jump to content


Photo
- - - - -

Discovered Bug With Nextgen Gallery And Supersize Bg Image


  • Please log in to reply
11 replies to this topic

#1 blatka

blatka

    Member

  • Members

  • 17 posts
  • Framework Version:2.4.4
  • Country: Country Flag

Posted 05 December 2012 - 06:19 AM

I was working with James and Robert in Live Chat and we've discovered a bug.

 

Five of my site's pages display a Carousel using NextGen Gallery images, and all use the same supersized background image set in Pagelines > Site Options > Color Control with the supersized option checked. Four of the pages work without issue, but one page will not load the background image in Firefox (v18 OS X). All pages work fine in Chrome (Version 23.0.1271.95 OSX) and Safari (v6.0.2 OS X).

 

Discovered that turning off the Carousel in the page meta settings on this page only would allow the background image to load. Otherwise, with the Carousel on, here is the result: 

Please Login or Register to see this Hidden Content

 

A working page in all browsers: 

Please Login or Register to see this Hidden Content

The non-working page when shown in Firefox only: 

Please Login or Register to see this Hidden Content

 

Looking forward to a fix or ideas on this!

Thanks

Bill

 

Pagelines V 2.3.6 using Base Theme 1.0.2



#2 James B

James B

    Advocate

  • Members

  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 05 December 2012 - 06:22 AM

Thanks for posting Bill, we'll get this looked into and come back to you shortly when we know a little more.



#3 beardedavenger

beardedavenger

    Unicorn Wrangler

  • Members

  • 1219 posts
  • Country: Country Flag

Posted 05 December 2012 - 02:42 PM

If you're interested, I recently released Better Carousel, a Carousel a lot like the one in core, but responsive, and with a few more options. I just tested it with background images and it seems to work ok and not present any issues like you describe. 

 

Might be a good alternative.

 

Please Login or Register to see this Hidden Content



#4 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

Posted 05 December 2012 - 02:44 PM

There are a number of javascript fatal errors on your page, could be the cause.



#5 beardedavenger

beardedavenger

    Unicorn Wrangler

  • Members

  • 1219 posts
  • Country: Country Flag

Posted 05 December 2012 - 02:49 PM

P.S - also the bg image seems to be working here 

Please Login or Register to see this Hidden Content

on all browsers. This page has a carousel.



#6 blatka

blatka

    Member

  • Members

  • 17 posts
  • Framework Version:2.4.4
  • Country: Country Flag

Posted 05 December 2012 - 04:00 PM

HI Eejit

There are a number of javascript fatal errors on your page, could be the cause.

Any way to tell where these are coming from? Plug-ins? Or pagelines itself? Do you see the same errors on other pages from the site?

 

@Unicorn: I heard about better carousel - was planning on giving that a try, but not before seeing if my situation was a dead end or not.



#7 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

Posted 05 December 2012 - 04:02 PM

You can use your browsers debug tools to see the errors.



#8 James B

James B

    Advocate

  • Members

  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 05 December 2012 - 11:33 PM

Do you have any firefox add on's Bill, like Web Dev tools? Turn off firefox plugins and see if that makes any difference to the supersize bg.



#9 blatka

blatka

    Member

  • Members

  • 17 posts
  • Framework Version:2.4.4
  • Country: Country Flag

Posted 06 December 2012 - 06:04 PM

Hey James!

 

I do have Web Dev tools. I tried turning off firefox plugins but it didn't make any difference. The background image still didn't show up.

 

Per previous posters, I see that there are all sorts of warnings and errors. Most have to do with a third-party page that is being shown in a modal, and the others have conflicts with the share buttons in my footer, which I have inserted with the following less shortcodes:

[like_button]

[twitter_button]
[googleplus]
[linkedin]

 

NextGen Gallery does have a PluginCheck button on their config settings. Running this comes up with this error:

Check theme compatibility

 

Missing the call to wp_head() in your theme, contact the theme author

 

 

One of the errors from the firefox debugger:

 

Timestamp: 12/6/12 12:47:24 PM
Error: Error: jCarousel: No width/height set for items. This will cause an infinite loop. Aborting...
Source File:

Please Login or Register to see this Hidden Content

Line: 1
Inside the Carousel meta settings, I had been leaving the sizes blank because it says that when using NextGen Gallery images, the height and width of the images are set in by NextGen. It also says the image sizes are for Posts Mode only. I'm not using post mode on this page.
 
Once again, no idea how to fix any of this stuff, but it's what I'm seeing.

Cheers,
Bill


#10 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

Posted 06 December 2012 - 06:30 PM

Well i tried to reproduce this locally.

 

Installed nextgen, created a gallery. Added some images to the dir and let nextgen index them and create thumbs.

 

Added the carousel to blog page, told it to use nextgen and set a scroll time.

 

Added a global supersized background.

 

All works no errors.

 

Your site is impossible to debug when its minified and still using external JS that causes errors.

 

How did you create the gallery? 



#11 blatka

blatka

    Member

  • Members

  • 17 posts
  • Framework Version:2.4.4
  • Country: Country Flag

Posted 07 December 2012 - 07:34 PM

Simon:

I created the gallery by using the nextgen uploader. 

And it is odd, because I have four other instances of the gallery that work just fine. It's this fifth one that is the problem. In fact, I created another page as a test with the gallery and had the same problem.

Weird.
B



#12 James B

James B

    Advocate

  • Members

  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 08 December 2012 - 03:42 AM

Bill the background is coming up in firefox now on that page, did you find the js error?