Closed rnicholus closed 11 years ago
Depends on #867
The primary goals for this feature/story are:
To implement:
<canvas>
or <img>
element with the appropriate placeholder when the file is selected.preview
option that includes a placeholder
property (object). This can contain a map of placeholder image paths by MIME type. Wildcards will be permitted. drawThumbnail
method that draws the preview onto either a provided <canvas>
or an <img>
. This will have a promissory return value with success
and failure
fulfillment depending on the outcome of the preview generation.Note that this feature includes a change that ensures a "qqfilename" parameter is always sent with all traditional endpoint upload requests. This was done to make it easier and more consistent for servers to parse the file name without having to strip off path information that IE may send along with the name associated with the file's multipart boundary filename field.
This includes: