-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Placeholder] - Add support for display of image thumbnails/previews (pre-upload) #214
Comments
Doable, but not in the 2.x branch. This will likely be part of 3.x.. |
I was just trying the "Display Image Thumbnails" demo and I did the following:
For whatever reason, the thumbnail mechanism is not detecting the latest uploaded image and is reusing the first image. The demos are still pretty cool! |
@cdvrooman Please show your code. If you are simply using the "thumbnail" demo as-is, you can see, looking at the code, that this is not capable of showing the thumbnail of an actual dropped/uploaded image. The demo is meant to simply highlight the possibility. You will need to write your own code to display the thumbnail of a dropped/selected image file. The File API along with the createObjectURL function are both a necessity to make this happen. |
I am not sure I'm following but provided you return the filename (ie the |
Ah yes, if you know the path of the uploaded file, you can display a thumbnail in the browser by following the advice from @tellibus. My comment discussed how you can display a thumbnail before the file has even been uploaded. The latter is something I plan on adding to FU in the near future. The former could be a fallback, for browsers that don't support the File API. |
Need to break this up into separate stories:
|
Closed as this has now been split up into 3 separate cases. |
Hi there!
I'm using this great plugin and it's working wonderful for me!
I've tweaked it a little to fit my project but I can't get it to show thumbnails (and store them on the server would be even better) so users can see what they just uploaded.
Thanks in advance!
The text was updated successfully, but these errors were encountered: