Long time reader first time poster...And this might be more of a "If you are having the same issue" type posting to help someone else out.

I implemented Colorbox on the site I am working on. Changed the "Manage Display" options to Colorbox for my "Article" content type and got Colorbox to work as it should on one of my Article pages.

As I went to work on the next fix on the site I realized that on new Article pages the Colorbox was not working. Instead of the stylized popup window I was seeing each image open itself in the window as if I had clicked a link on the image. Image in the upper left and a white background for the rest of the window.

Basically I could see Colorbox working on the node "test-article-1" but not on either "test-article-2" or "test-article-3".

Was basically pulling my hair out until I read another issue posting here and thought to turn off "Aggregate JavaScript Files" under Admin-Config-Performance to see if there is a difference between "test-article-1" and the others.

Only difference in JavaScript load is form.js which must be tied to Comments being enabled on the page. (Just hit my head hard when I noticed I have Comments enabled on the 2 new articles and not on article-test-1. Doh!)

I assume I am seeing a "JavaScript" vs "JavaScript" conflict between Comments and the form.js and Colorbox?

Any thoughts, hints or ideas to allow me to re-enable the "Aggregate JavaScript" option, keep comments enabled and have the Colorbox work as expected?

Comments

frjo’s picture

Category: bug » support

I just tested this on a local D7 test site. Colorbox on Image fields work as well on nodes with comments form as on nodes without the form. Tested with "Aggregate JavaScript" on as well as off as well.

Have you tested to clear the Drupal as well as the browser cache? Disable other modules? Tried this on a clean install?

kd0afk’s picture

Having the same issue. Clean install.

frjo’s picture

Status: Active » Closed (cannot reproduce)
c_c_l’s picture

Just in case someone got the same problem : check that you installed the last version of the jQuery Update module