Closed (won't fix)
Project:
Scald: Media Management made easy
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Mar 2015 at 11:36 UTC
Updated:
10 Mar 2015 at 18:46 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
gifad commentedHi bjalford,
I'd like this caption too, so here is a minimalistic patch to implement it...
Warning:
This patch adds a column to the field table(s) : so
Comment #2
gifad commentednew patch with a label, more comprehensive markup to make theming easy, and automatic preset of caption with dropped atom's title…
Comment #3
jcisio commentedThis patch changes the field formatter and does not solve the general problem. To add customized data (e.g. caption), I can think of a few solutions:
1. Another field type, instead of modifying atom_reference
2. Use field_collection
Both require customized field formatter to take into account of the customized data. I think we could write a contrib module for 1/ (and later have scald_gallery use it), but it's out of scope of Scald core. We can however, if necessary, extend Scald core e.g. conventionally accept some special settings in $options in the render pipeline:
$options['overriden'] = ['title' => 'Customized title']so that this contrib module can reuse the current players.Comment #4
gifad commentedyes, and I'd add a theme function for the final rendering...
but bjalford just asked a caption for his images...