Hi,

I added a "caption" field to my image types and 100s of them are already filled in.

This module provides a checkbox that says "Use field as Colorbox caption", which is exactly what I've been looking for.

I check the box, click save, and nothing happens!

Take note that the field is set as "translatable". I see no error message.

Comments

kmadel’s picture

Status: Active » Postponed (maintainer needs more info)

Please provide information on how you are using the Media Colorbox formatter.

stockliasteroid’s picture

Same issue here. I have a file entity with a field on it called "field_caption". It's a text field, nothing fancy...

I have Media Colorbox enabled as a display for "Small". It's the only enabled display. I have the File View Mode set to "Link", Colorbox view mode set to Colorbox, and Caption set to "File Type text field".

I've edited the caption field on the file entity, and checked the box to make it a colorbox caption. If I save and then edit the field again the box isn't checked, so it's never saving my choice for the field to use as a caption. I also never get captions when viewing the images.

thanks!

stockliasteroid’s picture

Scratch that. I had another config issue preventing captions from appearing. They work fine now... I think this is just UI confusion more than anything else, as the checkbox never indicates whether or not the existing field is already being used for the caption, so it seems like it's not working because it's never checked when editing your caption field. So perhaps it would be better as a button? "Use As Colorbox Caption", and when you click it, it toggles the current field to be the caption provider?

In any case, everything seems to be working correctly here, at least for me.

kmadel’s picture

Version: 7.x-1.0-rc1 » 7.x-1.x-dev
Status: Postponed (maintainer needs more info) » Closed (fixed)

Now setting default value of caption text field, this will allow you to see if you have already set a field on the file entity to be the caption field for Media Colorbox.