All examples By author By category About

nitaku

HTML5 File API - DnD PNG thumbnail

This example uses the HTML5 File API (tutorial) to let users load an image file client-side with drag and drop. The image file is just shown in the web page, it is not sent to the server.

Just drag a PNG onto the target area to create a bl.ocks.org-style thumbnail.