Problem/Motivation

So many ways of making image fields, so many ways of specifying alt for each.
Need documentation and recommendations of when to do which way to recommend something.

Proposed resolution

Look at various ways of getting image alt tags for fields.

Remaining tasks

TBD. (reviews needed, tests to be written or run, documentation to be written, etc.)

User interface changes

No UI changes anticipated. (just investigating them/documenting)

API changes

No API changes.

Related

Comments

Just investigating right now. If find any issues will file follow-up for them.

Drupal 7 core image field. image widget.

imagefield-s01-2013-01-10_1730.pngimagefield-s02-enablealt-2013-01-10_1731.pngimagefield-s03-2013-01-10_1734.pngimagefield-s04-altok-2013-01-10_1737.png

core image field. widget media file selector.

imagefield-s05-media_file_selector-2013-01-10_1729.png

No setting in edit field for alt and title (or in manage display tab)

imagefield-s06-mediafileselectwidget-nodeedit-2013-01-10_1748.pngimagefield-s07-mediafileselectwidget-editfieldpopup-2013-01-10_1748.pngimagefield-s08-mediafileselectwidget-noalt-2013-01-10_1748.png

is there an issue open already for the media file select widget not showing alt? (what is the project/component for that?)

core image field. widget media file selector.
(create content instead of edit one that had image widget before)

imagefield-s09-mediafileselectwidget-new-2013-01-10_1748.pngimagefield-s10-mediafileselectwidget-upload-2013-01-10_1748.png

alt in widget
imagefield-s11-mediafileselectwidget-alt-2013-01-10_1748.png

alt carried through in widget
imagefield-s12-mediafileselectwidget-alt-carriedthrough-2013-01-10_1748.png

no alt when viewing node
imagefield-s13-mediafileselectwidget-butnoaltonview-2013-01-10_1748.png

file field. file widget.
filefield-s14-filewidget.pngfilefield-s15-filewidget-noimagedisplay.png

oh. no image display. ok.

I feel like I should be able to something with this.. based on #1553094: Alt and Title support for Images. But I'm not sure.

Can I use the file field and do some config to be able to use it for images and get alt in the html?

I got this far... but then dont know what to do. There dont seem to be more options on a file field than there was before.

filedisplay-s17.pngfilefield-s18-editfieldinmanagefields-2013-01-10_1849.png

This is more of a media issue.
File entity module does not use core's alt and title attributes of image fields.
It attaches two textfields on image file type and uses those fields instead..which makes it confusing for site builders

StatusFileSize
new50.92 KB
new22.01 KB
new17.2 KB
new68.44 KB
new46.21 KB
new29.57 KB

I am having issues when I am adding it via WYSIWYG.

I can enter the fields alt & text but they are not displayed.

I am using the latest media DEV & File Entity dev + using the panopoly distribution.

As you can see in the screenshots I can add it but it is not displayed in the wyswyig and not when displaying the content.

step 1step 2step 3step 5step 6step 8

@Mschudders what happens when you try and follow #1307054-95: Media browser missing image alt and title fields ?

Issue summary:View changes

added related issue to media module wysiwyg