Caption is not working with 'Title text' and 'Alt text' properties, when used with the File Entity (file_entity) module.
How to reproduce:
- Enable the colorbox module.
- Enable the file entity module.
- Goto any content types manage display section, and change the field formatter of image field to Colorbox formatter, And in the formatter settings, change the caption value to 'title text'. Note: make sure the selected value is 'Title text' or 'Alt text'
- Visit the node and click the image to view in colorbox, here we can't see the 'Title text' as expected.
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | 2645160-11.patch | 776 bytes | marco-s |
| #6 | 2645160-6.patch | 1.19 KB | neerajskydiver |
| #3 | 2645160-3.patch | 1.37 KB | neerajskydiver |
Comments
Comment #2
frjo commentedThe file entity module is a contrib module so what you really is asking for is that Colorbox support it. Change the title so this is clear.
I have never used that module but if someone who does sends in a patch I will take a look at it.
Comment #3
neerajskydiver commentedIf file_entity module is enabled.
'Title text' and 'Alt text' properties values are rendered through the colorbox fomatter.
Comment #5
neerajskydiver commentedComment #6
neerajskydiver commentedOptimized and updated patch as per latest branch commit.
Comment #8
frjo commentedCommitted to 8-dev. Thanks for the contribution!
Comment #11
marco-sAdd empty-check to image title too.