Hi Ross,

The media library simply wraps the file system - there's no database behind
it, and subsequently nowhere to store additional meta data like you
describe.

If you look at the gallery page type, you'll see it implements its
collection of images using the database, with a field for the file (backed
by the media library) and a field for the description, which is the
approach you're looking for.


On Mon, Feb 3, 2014 at 5:15 AM, Ross Laird <r...@rosslaird.com> wrote:

> I try to be standards-compliant whenever possible. The W3 
> spec<http://www.w3.org/wiki/HTML/Elements/img>for images requires an alt tag 
> for most images: "When an a element that
> creates a hyperlink, or a button element, has no textual content but
> contains one or more images, the alt attributes must contain text that
> together convey the purpose of the link or button." As far as I can tell,
> Mezzanine's media library does not provide a way to add alt tags to images,
> so if I want to use those images in sliders and the like, I can't provide
> alt text for them (for use in a caption, for example). I can, of course,
> add alt tags directly to images used in templates, but this is not a
> flexible solution.
>
> Or maybe I'm just missing something really obvious. Is there an alt tag
> function somewhere in Mezzanine?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Mezzanine Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to mezzanine-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Stephen McDonald
http://jupo.org

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to