Hello Toby...

Toby A Inkster wrote:
I would like to inform you that the Media Examples Anyalisis has at last
been completed please see http://microformats.org/wiki/media-info-examples.
The full results and discovered schema for a Media Microformat is
available here:
http://microformats.org/wiki/media-info-brainstorming#Schema.

It strikes me that it's missing guidance on how to mark up thumbnails for images.
OK...

The "obvious" way would seem to be:

    <div class="hmedia">
      <a class="full.jpeg" rel="enclosure" class="photo">
        <img class="thumbnail" src="thumb.jpeg" alt="whatever">
      </a>
    </div>

...
But, as class="photo" is used to provide a graphical preview for video and audio files, it seems that a better way would be to use class="photo" for the thumbnail and rel="enclosure" (but not class="photo") for the full sized image:

    <div class="hmedia">
      <a class="full.jpeg" rel="enclosure">
        <img class="photo" src="thumb.jpeg" alt="whatever">
      </a>
    </div>
the above example is kind of how it goes

<div class="hmedia">
     <a class="fn" href="full.jpeg" rel="enclosure" type="image/jpeg">
       <img class="photo" src="thumb.jpeg" alt="name of image" />
     </a>
   </div>

here the @alt of the image will form the textual name ("fn") of the media.

Though that is not immediately obvious, so I think it would benefit from explicit mention in any spec.

Agreed..

Thanks

--
Martin McEvoy

http://weborganics.co.uk/

_______________________________________________
microformats-new mailing list
microformats-new@microformats.org
http://microformats.org/mailman/listinfo/microformats-new

Reply via email to