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
Comment #0.0
applaps commentedadded more detail
Comment #1
frjo commentedPlease 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
Comment #2
gChen07 commentedI 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
Comment #3
dimgnet commentedIm 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.
Comment #4
andrewchosen commentedHaving the same issue. Just started in the last month or so.
Comment #5
letigrepanthere commentedHello, I'm experiencing same problem...
Hope some one can help.
Thanks.
Comment #6
new123456789 commentedDid you guys manage to solve the problem?
Comment #7
dolly nyc commentedcan anyone post a link to a site which shows the problem?
Comment #8
max6166 commentedI had this problem too, but realized I had forgotten to run the database upgrade script. Problem went away after I did that.
Comment #9
vegantriathleteI 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.
Comment #10
vegantriathleteI don't think @dimgnet really meant to take on this task.
Comment #11
vegantriathleteI 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 ofclass="colorbox init-colorbox-processed cboxElement".Comment #12
karthikkumarbodu commentedHi,
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
Comment #12.0
karthikkumarbodu commentedadditional info
Comment #13
liquidcms commenteddoes 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:
but even hacking in a valid response and i still get same result as posted here.
Comment #14
flatfeat commentedI'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).
Comment #16
ashlinry commentedI 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:
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.
Comment #17
avpadernoComment #18
neslee canil pinto