Hi, Is there any way that we can include tokens along within the Caption field?
I have a field collection that consists of an image plus an associated tags [term:url] field, I want the tags to show up in the colorbox pop-up hopefully via the 'Caption field' or by some other means. Does anyone know a way that this can be done?
Thanks in advance
I've found out how to do this now using this http://drupal.org/node/799216 post.
The one problem I am having now is that the image no longer sizes to the viewport, is there some setting I have to change or is this because I'm using views? Can this resize be performed by jQuery?
Thanks in advance
Comments
Comment #0.0
Tony Finlay commentedClose
Comment #0.1
Tony Finlay commentedClose
Comment #1
Tony Finlay commentedComment #1.0
Tony Finlay commentedChange of issue
Comment #2
griz commentedSame conundrum here with the media module. I have the ability to place other fields in the colorbox with the image, but really I want the image to resize to the size of the colorbox at its maximum. And yes, I think this is something you or I will have to do with jquery.
Comment #3
frjo commentedComment #4
tregeagle commentedYup same problem here with Colorbox-7.x-1.3.
Just to clarify here is a screenshot of the issue:
Comment #5
tregeagle commentedI think jquery is forgetting to add some padding to the width and height on the #colorbox id.
/edit/ OK not the padding it's the element width and height which needs another 30px added.
Comment #6
tregeagle commentedFor others having this problem, check your doctype and the script/css loading order, " jQuery and colorbox.css need to be loaded prior to jquery.colorbox.js"
See this for more information: http://www.jacklmoore.com/colorbox/faq#faq-doctype
Comment #6.0
tregeagle commentedUpdate Issue
Comment #7
vacilando commentedSame problem in 7.x-2.8 -- colorboxed image triggered (triggered from a view) sticking beyond the right browser border instead of resizing.
Also tried 7.x-2.x-dev -- same problem.
Comment #8
vacilando commentedComment #9
neslee canil pinto