Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
using colorbox with "cck"image, showing the title of the image, but if you use the "colorbox-inline" class in the properties of image with text editors (CKEditor) fail to show the title.
What I have to do?
Thanks
Comments
Comment #1
frjo CreditAttribution: frjo commentedWhy do you want to use "colorbox-inline" class? If it is just an image you want to open "colorbox" class is the way to go.
The colorbox-inline feature is for advanced user that what to display content from the current page in an Colorbox. Inline here refers to e.g. a div on the page.
Comment #2
hovering CreditAttribution: hovering commentedOpss ... I do not clarified in the documentation and only appeared as "colorbox-inline" and "colorbox-load" ...
With "colorbox" works perfectly.
Could documentation for users with little knowledge like me?
Thanks
Comment #3
frjo CreditAttribution: frjo commentedComment #5
dax444 CreditAttribution: dax444 commentedI'm having an issue with the inline setting myself. I am trying to use it to pop up a Videojs player. I have placed the Video for everyone portion of the code in an inline box and when I click the link it pops up and plays as expected however the page I am poping up from goes completely white. All the content appears hidden. I can figure out what everything is disappearing. If I pop up a Colorbox with just an image using a rel tag there is no issue. It seems related to the inline approach. Any ideas?
Comment #6
donok CreditAttribution: donok commentedI am getting the same - just a white colorbox with no contnent - I hope it has to do with my link being wrong? I am trying this:
There is an element in the instructions I am confused about - what is the "#id-of-content" and what am I supposed to put in there?
Is there another option to get a lightbox effect working with D7?
Thanks for any help - Don
Comment #7
mvpfi CreditAttribution: mvpfi commentedThere is a catcha with the DIV. This won't work:
Because when colorbox comes out, content is still hidden. You have to write it like this:
To donok:
Inline link won't work in your case: the url you are presenting is not inline content. You must be able to write the link like href="?attributes_to_colorbox", that is, without URL.
Comment #8
donok CreditAttribution: donok commentedThank you - this solved it!
Comment #9
rolandk CreditAttribution: rolandk commentedHi Mikko mvpfi,
Re: adding a Vimeo video to colorbox Drupal 7 I needed some help.
If the embed code for the vimeo video is:
What is the correct way to launch this video on colorbox ?
Thanks!
Comment #10
JulienD CreditAttribution: JulienD commentedHere is what I used to embed vimeo videos in a lightbox frame.
Just replace $id with the vimeo Id.
I hope this can help :)
Comment #11
wavesailor CreditAttribution: wavesailor commentedPlease can the "hovering" request be added to documentation as I spent hours trying to figure out how to just get an image to pop-up using colorbox. I would do it but not sure how to.
In the documentation it only indicates "colorbox-inline" and "colorbox-load" and does not indicate the "colorbox" option and it's parameters if it has any.
Thx
Comment #12
frjo CreditAttribution: frjo commentedCommitted text to the README about this in 7-dev.
Please don't reopen old closed issues in the future, create a new one instead.
Comment #14
duit CreditAttribution: duit commentedRe: #10 (JulienD),
Im using views to list my videos then hope to load my vimeo files in colorbox. This works fine (but obviously not the full solution) when manually embedding in the view eg.
<a class="colorbox-load" href="http://player.vimeo.com/video/58915714?width=400&height=225&iframe=true">[field_video_image]</a>
Im guessing by using the below of code to get the videos ID this could work, only don't know how/where to pair up the two...did you use a tpl file or something?
Thanks