attachment description
I am trying to do a hack that will display a small description below attachment. So far so good. After you upload attachment, a small text area appears in newpost, newreply, or editpost allowing you to write your caption for each attachment.
I altered the attachment table for the new field 'caption'. I placed the retrieval fields in newreply and newpost.
Where I am stuck is with functions_file.php. I don't know how to tell it to insert the caption field at upload.
Also, to test my new settings, I simulated an upload result by manually inserting the caption into the new field. The thumb, then got broken. I removed caption from mysql, thumb remained broken. Is it because the file got corrupted when I manually submitted into mysql (without even touching those characaters), or because I am wasting my time and what I want to do is not possible?
|