[wp-trac] [WordPress Trac] #5722: Flash uploader
WordPress Trac
wp-trac at lists.automattic.com
Fri Jan 25 18:48:07 GMT 2008
#5722: Flash uploader
-------------------------+--------------------------------------------------
Reporter: tellyworth | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.5
Component: General | Version:
Severity: normal | Keywords: has-patch
-------------------------+--------------------------------------------------
This adds flash-based uploading for single and multiple files, and
implements a simple image gallery/album feature.
There are two upload popups available on the Write Post tab: one for
inserting a single image, and one for a multi upload gallery. Both will
use swfupload if Flash 9 is available, and fall back to html+javascript if
it is not. (swfupload supports Flash 8 also, but some critical features
are unreliable or dont't work at all).
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.
--
Ticket URL: <http://trac.wordpress.org/ticket/5722>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list