Closed (works as designed)
Project:
Shadowbox
Version:
7.x-4.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Apr 2013 at 11:27 UTC
Updated:
14 Apr 2013 at 10:31 UTC
I wish it was something obvious.
I'm unable to get alt or title atrtibute (set in the Media UI - 2.0-unstable7) to appear in the slideshow. All I can get is the node title. Is it because Shadowbox has not been made compatible with recent changes in Media?
Comments
Comment #1
manfer commentedThis is not a bug on shadowbox. Shadowbox can't inspect any other module to review how they decide to do things.
The image field has an alt and title attributes. When using the normal image widget you can fill those values. But the people that develop media had not added those attributes on the media widget (media file selector), never, not in 1.x recommended version nor in 2.x unstable. Now in the unstable looks they added the possibility of filling an alt and a title by adding a new button edit media but they had decided to use their own new attributes field_file_image_alt_text and field_file_image_title_text but they don't fill the attributes alt nor title of the image field item that continue having a NULL value when using the media widget in an image field.
The reason why they decided to do that, I don't know, but if this is a bug is a media bug for not filling the corresponding alt and title fields with the proper values. And otherwise would be a feature request for shadowbox to use those field_file_image_title_text and field_file_image_alt_text of the media module.
Comment #2
moniuch commentedThanks @manfer for your thorough clarification. To anyone that may have stumbled upon it, this post contains a good workaround:
http://drupal.org/node/1343022