Colorbox does not work-images are sized in right folders, paths to scripts are correct firebug shows the following error "$window is undefined
[Break On This Error] return Math.round((/%/.test(size) ? ...)) / 100) : 1) * parseInt(size, 10));
jquery...?lp842h (line 132"

CommentFileSizeAuthor
#4 Appearance.pdf444.38 KBjg352
#4 Modules.pdf166.23 KBjg352
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

frjo’s picture

Can you post a link to some example site with this problem?

If you go to "Status report", what version of the Colorbox plugin is reported there?

jg352’s picture

Thanks for getting back so quickly. The URL is http://slidingdelta.com/test there is a view on the front page. I just noticed that it works for those who ARE NOT administrators . It seems the admin toolbar or shortcuts is preventing it from working properly

The plugin is Colorbox plugin 1.3.17.2

frjo’s picture

Title: cant get Colorbox 7.x-1.1 to work » Cant get Colorbox 7.x-1.1 to work when logged in as an admin
Category: bug » support

I have seen report from people clamming a problem with the toolbar and Colorbox but I have never been able to replicate it. My guess is that there are some third item that trigger this issue.

jg352’s picture

FileSize
166.23 KB
444.38 KB

I've attached two files which should help if you want to recreate the configuration. On my site the problem won't affect end users, and I can login with another account to see images using colorbox. If there info on my site config that would be useful to you, let me know.

frjo’s picture

Can you test with the default Drupal 7 theme "Bartik"?

jg352’s picture

Tried it with Bartik 7.7, same issue. When I turned off Toolbar or used a role that didn't have permission to use it, the problem went away.

frederico’s picture

I can confirm jg352's issue. I have the same problem using Bartik 7.7. The issue goes away when not logged into the site or when I remove the admin toolbar. Thanks!

mattm007’s picture

I can confirm this as well.
Using custom a theme, colorbox 7.x-1.1, admin toolbar 7.x-3.0-rc1

lsolesen’s picture

Status: Active » Postponed (maintainer needs more info)

Please try with 1.3. Is it still an issue?

frjo’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)