I have a page: http://www.technospider.com/~david/bhgs/?q=node/4

It has 4 images on it. The first 2 are using the Lightbox 2 overlay and work as expected, the last 2 use Colorbox and are marked with class="colorbox".
The overlay loads but the picture never does. Any idea what's wrong?

I'd prefer to use colorbox, as I think it's overlay looks nicer

Thanks,
David

Comments

frjo’s picture

The Colorbox gets a page not found error while trying to load url:s like this.

"The requested URL /~david/bhgs/system/lightbox2/filter-xss was not found on this server."

Try to disable Lightbox2 and see if it's some conflict between them.

tknospdr’s picture

I have disabled Lightbox2 and even zipped it's folder. I also turned off every other module that I'm not currently using on the site. No change.

Anonymous’s picture

Version: 7.x-2.4 » 7.x-2.x-dev
Category: support » bug

I'm also experiencing this issue - clicking on a Colorbox-enabled image brings up the Colorbox overlay, but it only displays the loading icon, no image. Right-clicking on the same Colorbox-enabled image and selecting 'Open link in new tab' opens the full image correctly in a new tab, so it doesn't seem like a permissions issue...

I'm using the 7.x-2.x-dev version of the Colorbox module with the 1.4.16 version of the Colorbox plugin.

I've also noticed that the issue only occurs when using the Colorbox image field formatter. When using another formatter (such as Image Matrix) and enabling the Colorbox option, the Colorbox overlay correctly displays the image.

Anonymous’s picture

Category: bug » support

Ok, so I worked out the problem. I was manually adding the class 'colorbox' to one of the wrapper divs for my imagefield (to which Colorbox then added the classes 'init-colorbox-processed cboxElement') and that was interfering with the Colorbox overlay functionality.

<div class="field field-name-images field-type-image field-label-hidden colorbox init-colorbox-processed cboxElement">...</div>

I removed my manually-added 'colorbox' class and that fixed the issue for me.

neslee canil pinto’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)