Seems like the latest version 1.3.19 released on december 08 2011 no longer works with the colorbox module.
After doing some testing it seems to be the version of jquery that is causing it to not work.
I verified this by going to /sites/all/libraries/colorbox/example1/index.html and changing
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
to
<script type="text/javascript" src="/sites/all/modules/jquery_update/replace/jquery.min.js"></script> which caused it to break.

I found that using this commit works: 7f9bbd64c39d24d2c2c3a3368cc64b86104a0483
It actually seems like the last commit is what broke it. After doing a little more research it turns out in jquery 1.4.4 http://blog.jquery.com/2010/11/11/jquery-1-4-4-release-notes/ they fixed the issue regarding height() and width() on hidden elements returning zero.

Since jquery_update 6.x-2.0-alpha1 only upgrades jquery to v1.3.2 we can not use the latest version of colorbox. We could fork colorbox and try to keep up with his updates but port anything that needs a newer version of jquery or we could ask him to try to keep some legacy stuff in his code.

In case anyone is lazy and needs to download a working colorbox

git clone https://github.com/jackmoore/colorbox.git
cd colorbox
git checkout 7f9bbd64c39d24d2c2c3a3368cc64b86104a0483

if anything we should mention something on the module page about which commit to use until we figure out what to do.

CommentFileSizeAuthor
#1 colorbox-1.3.18.zip608.82 KBfrjo
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

frjo’s picture

Title: Latest version of colorbox-1.3.19 not working » Drupal 6 jQuery version to old for Colorbox plugin version 1.3.19 and later
Assigned: Unassigned » frjo
Category: bug » task
FileSize
608.82 KB

Thanks for reporting this! I think the best is to simply tell Drupal 6 users to stay with version 1.3.18.

I have attached a zip file with that version.

ntripcevich’s picture

Thank you! I had just updated an older Drupal 6 site from Thickbox to Colorbox in order to make better use of "Insert" but the Colorbox enlargements were coming up blank.
It's working now with
Colorbox 6-1.1 module
Colorbox-1.3.18 library (that you link to here)
jQuery Update 6.x-2.0-alpha1

Bartezz’s picture

This one costed me half an hour of my life :) Should learn to read project pages better!
Thanx for posting zip.

Cheers

varkenshand’s picture

Same problem here: after upgrade to 1.3.19 Colorbox stopped working. After setting jQuery to 1.7 it worked again but then Drupal 6 gave problems (unable to edit node). I managed to work around it switching back and forth between 1.3 and 1.7 but downgrading the colorbox is the best option.

One thing I noticed later on is that something seems also to have changed in the Site Offline page since I have been using 1.3.18. A faulty colourbox seems to be invoked there. Strange..

penyaskito’s picture

Curiously I only got this problem when using D6 patch required by simpletest (and pressflow). With a clean D6 it worked fine :-S

Using 1.3.8 worked for me too in this case, thanks :)

doitDave’s picture

Thanks for the guidance, I can confirm that sticking to colorbox 1.3.16 seems to be the only real option for D6. May I suggest that the maintainers add this note to the main project page?

Cablestein’s picture

Just wanted to add...

New to Colorbox, did a fresh install today on Drupal6.

The problem I was seeing is the modal box comes up fine, but no image or controls present (just a white box with rounded corners and the overlay).

The solution on this page worked fine for me.

artis’s picture

Title: Drupal 6 jQuery version to old for Colorbox plugin version 1.3.19 and later » Drupal 6 jQuery version too old for Colorbox plugin version 1.3.19 and later

Thanks for providing this issue.

lsolesen’s picture

Status: Active » Fixed

Marking as fixed, as there is an answer.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.