[mir-coders] Bigger captions for photos?
yossarian at aktivix.org
Mon Jul 10 01:56:29 PDT 2006
I figured out some answers to this now...
> > Hi,
> > Our photographers in the UK have requested bigger captions for photos,
> > so they can do photo essays. Currently, the field used in our publish
> > template is just the "title" varchar(255) of the photo. There is a
> > "description" field in the database, which is a text field, and looks
> > like a good bet to hold this without changing the database schema.
> > Does anybody have any tips for how to wire up the publish form with a
> > new "description" field so that this ends up in the "description" in the
> > database? I don't see where the input gets turned into an object, really...
It seems that there are a bunch of name-value pairs happening on form
submission, with form data being submitted as a map?
> > Also, when I asked Zapata about this earlier, he suggested that the
> > "uploaded_media" table would have a "description" field which could be
> > used for a longer caption. Looking at the database, it appears to me
> > that the data from "images" is duplicated in the "uploaded_media" table
> > - just out of interest, why is this? Which table is the correct one to use?
This I am still wondering about if anybody knows about it.
More information about the mir-coders