Closed (works as designed)
Project:
CKEditor 4 - WYSIWYG HTML editor
Version:
7.x-1.1
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Apr 2011 at 09:18 UTC
Updated:
11 Apr 2011 at 22:03 UTC
Hello!
As the title says, any image I insert (insert module) does not open with a colorbox. What happens is that it opens the original image in the current browser window/tab, without using colorbox. The image has the colorbox class, as well as colorbox-insert-image, init-colorbox-processed-processed and cboxElement.
Just so you know, I have the colorbox working for login links and my media gallery (media gallery module). I tried using the same settings that Fredrik does in the screencast about using colorbox with the insert module, but it does not help.
What to do, does anyone have any ideas?
Best regards,
Ao
Comments
Comment #1
frjo commentedDo you have an example site where we can see this problem?
Comment #2
Aonoa commentedHmm.. I setup a clean site in order to show you, but on the new clean site I setup it works. Maybe some module or other unknown code could be interfering on my more busy site. This needs some investigation.. =)
Best regards,
Ao
Comment #3
Aonoa commentedWhen making a copy of my live site, it won't work. I tried uninstalling and re-installing the colorbox module, but no luck. The original resolution picture that is displayed is definitely controlled by colorbox, though, even though it is not displayed in a colorbox. I can tell, because changing the insert setting in the colorbox configuration from original to medium changed the size of the image when I click to open it.
Best regards,
Ao
Comment #4
Aonoa commentedI found the culprit, it seems to be the ckeditor module. Disabling it makes the images appear in a colorbox and enabling it prevents the colorbox from being used. I'll investigate some more.
Best regards,
Ao
EDIT: It definitely is the ckeditor module. I tried on a completely clean site, and indeed it does break the colorbox feature for images used in e.g. forum posts. Perhaps I'll just disable ckeditor/wysiwyg altogether for a while. Hmm.
Comment #5
Aonoa commentedI think I will move this to the ckeditor project instead, seems like this issue needs to be fixed in that module.
Best regards,
Ao
Comment #6
Aonoa commentedI tried updating the ckeditor plugin to 3.5.3 and using the ckeditor module from git, still the images or image links in my forum posts refuse to open in a nice colorbox as long as this module is enabled.
EDIT: Just wanted to add that using the ckeditor plugin works, it's just the module that is the problem.
Best regards,
Ao
Comment #7
Aonoa commentedI discovered my problem, it was because I had the wysiwyg module enabled as well. By disabling wysiwyg and enabling ckeditor my colorbox is working! =)
Best regards,
Ao
Comment #8
Aonoa commented