Hello all,

I am new to Drupal, so please bare with me :) I am having an issue where when I click on an image, it just loads a the image in a new page rather than popping up. I created a content type called 'gallery'. 'gallery' has an image field of field type 'image'. This field type has the 'Colour' box format applied to it with the following settings:

Content image style: gallery_thumbnail
Colorbox image style: Original image
Colorbox gallery type: Per post gallery
Colorbox caption: Automatic

I created a view, which includes the image field. I have again chosen the Colorbox Formatter with a thumbnail for content image style and original image for colobox image style

I have installed and enabled the colorbox module (7.x-2.0)

I have unzipped and put the plugin files inside sites/all/libraries/colorbox/colorbox - is this enough or is something else required to actually install it?

I have also installed the latest jQuery_update module...

Im so lost - ur help is greatly appreciated! :)

Comments

applaps’s picture

Issue summary: View changes

added more detail

frjo’s picture

Version: 7.x-2.0 » 7.x-2.2

Please update to the latest version of the module as well as the plugin to begin with.

The directory structure of the plugin has recently changed. The correct path is now:

sites/all/libraries/colorbox/jquery.colorbox-min.js

gChen07’s picture

I have the same problem here. I downloaded the latest module.. library and plugin but the colorbox still doesn't show..
please post if ever you find solution with this problem.. thank you

dimgnet’s picture

Version: 7.x-2.2 » 7.x-2.4
Assigned: Unassigned » dimgnet

Im also new to Drupal and i have the same troubles.
I followed the tutorial from https://www.youtube.com/watch?v=MUSpTSTVL0Q but lightbox never comes up.
Although im using a newer version of colorbox I got exactly the same problem as applaps.

Thank you

P.S. I followed the module developers video @ http://vimeo.com/26411524.
unfortunatelly same result.

andrewchosen’s picture

Having the same issue. Just started in the last month or so.

letigrepanthere’s picture

Priority: Normal » Major

Hello, I'm experiencing same problem...

Hope some one can help.

Thanks.

new123456789’s picture

Did you guys manage to solve the problem?

dolly nyc’s picture

can anyone post a link to a site which shows the problem?

max6166’s picture

I had this problem too, but realized I had forgotten to run the database upgrade script. Problem went away after I did that.

vegantriathlete’s picture

I ran into the same problem with 7.x-2.4. I hadn't tried running the database update. Instead, I reverted to using the 7.x-1.6 version (and the old path name of sites/all/libraries/colorbox/colorbox/jquery.colorbox-min.js) and it is working as expected. I know this doesn't give you a solution for the 2.x branch, but at least it gives you an option that will work.

vegantriathlete’s picture

Assigned: dimgnet » Unassigned

I don't think @dimgnet really meant to take on this task.

vegantriathlete’s picture

I wonder if the issue is that Views is not adding all the necessary classes when using the 2.x version. When I did an inspection on the anchor tag that Views created with the 2.x version it had a class="colorbox" instead of class="colorbox init-colorbox-processed cboxElement".

karthikkumarbodu’s picture

Issue tags: +colorbox load, +jquery namespace conflict

Hi,
I guess the problem is with the "jQuery_update" module sometimes there may be some conflicts occurring in the namespace of the jquery we get from drupal core package and the contributed module. So please try disabling the "JQuery Update" module. I hope that will solve your problem.

Regards,
Karthik Kumar Bodu

karthikkumarbodu’s picture

Issue summary: View changes

additional info

liquidcms’s picture

does status report verify that you have Colorbox installed? when i debug code the function colorbox_get_version() returns null because the $pattern does not match with the string it gets from latest colorbox release:

/*!
	Colorbox v1.4.33 - 2013-10-

but even hacking in a valid response and i still get same result as posted here.

flatfeat’s picture

I've suddenly run into this issue. Colorbox was working fine and then, I think after installed the JScroll module, it stopped working.

My solution was that somehow in the Colorbox settings, the "inline" option was unchecked in the "Extra features" section. When I tried to check it, I got an "illlegal option" error, "please contact your system administrator." Turns out that in the "Advanced Options" section, the option for "Choose the level of compression" had been unset, too, so neither option was selected. I selected one and Colorbox is working again.

Again, this seems to have happened right after installing the Drupal JScroll module (which didn't end up working for me, btw).

ashlinry’s picture

I ran into this issue as well, and it was on a new site without Drupal JScroll. I am using jQuery Update however, and it did not work with 1.8 or 1.10 (though I did not test any other versions).

Still, doing what #14 suggested worked:

  • Go to the configuration for the Colorbox module
  • Scroll down to the bottom and expand Advanced Settings
  • Under Choose Colorbox compression level choose either Production (Minified) or Development (Uncompressed Code).

I tested it with both options, and selecting either fixes the issue. It seems like this setting just needs to be set for the issue to be fixed.

avpaderno’s picture

Priority: Major » Normal
Issue tags: -colorbox load, -jquery namespace conflict
neslee canil pinto’s picture

Status: Active » Closed (cannot reproduce)