Topic: New Features
I know there is a forum for requesting new features. But in my case, I have already implemented them in my usage of plupload. I can, if desired submit these back to the project, if anyone wants them.
1. I needed to show thumbnails of the images. Using the new(ish) HTML5 Files API I could produce these, except that plupload does not present the original native file object to the end user, so that they can use it to access the img data. I updated the HTML5 module to add this data to the .file array.
Something like this seems like a no-brainer must-have, for a module labelled HTML5. At the least this allows the user to add thumbnails, whilst still basically keeping the API 'pure'. Its working well for me.
2. I needed to add Thumbnail production and uploading. We are going to use Amazon AWS for our new site. They dont charge for upload data (pretty much only thing they don't charge for!). So, why waste the opportunity to use the users PC to process the thumbs for us (we all have super computers these days eh?).
Again, pretty much a must have I think. Again, I've tried to keep it inline with the API, non hacky. I added another setting, called thumbnailsize ( width, height, quality) and if its present in settings the upload engine takes a second stab at resizing the image and uploading. Along the way I filter filenames to ensure lowercase, three char file types i.e. .jpg, not .jpeg or .JPG. And on the thumbnail upload rename the file to _thumb.jpg/png. Again, seems to be working for me.
Great library. Just going to pay for it now. Like I said, if anyone wants these, I'll submit them for inclusion?
Cheers
Chris