Hi Stephen, Thanks for publishing mezzanine and maintaining it!
I probably don't understand what you are saying. Did you say that the media gallery is just a (really nice) wrapper around the file system and that it is different with galleries? For SEO reasons I'd like to use alt tags for all my images. Is there a(n easy) way to do that and how? Thanks for your suggestions, Wim On Monday, 3 February 2014 00:07:50 UTC+1, Stephen McDonald wrote: > > 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 <ro...@rosslaird.com > <javascript:>> 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-use...@googlegroups.com <javascript:>. >> 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/d/optout.