[mir-coders] Bigger captions for photos?

yossarian yossarian at aktivix.org
Sun Jul 9 10:56:59 PDT 2006


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...

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?

Yossarian


More information about the mir-coders mailing list