|Reported by:||tellyworth||Owned by:||anonymous|
This adds flash-based uploading for single and multiple files, and implements a simple image gallery/album feature.
Flash image uploading is asynchronous, with a progress bar. If an uploaded image includes an IPTC title or caption, the title and alt fields will be pre-populated with those values.
The single image form inserts the image directly into the post content as before. The multi upload form inserts a "[thumbs]" macro, which produces a simple image album in the post. All attachments on a post are included in the thumbs album. The macro uses a new API (macros.php) that makes it easier to parse arguments and attributes.
If any taxonomies are registered for the 'attachment' object type, a simple tag-style input box is included on the multi-upload form.
We'll probably need to create some new template tags and default css so that themes can better style the image album, and support things like attachment taxonomies and image metadata, but that can come later.
SWFUpload is by http://www.vinterwebb.se/ and is MIT licensed. I wrote the single image code and macro API, Andy did the multi uploader and thumbs gallery. We've tested it thoroughly this week; some error handling needs a little cosmetic work but generally it's quite solid.