zsc / elm-image-upload

Example how to upload images with elm 0.18 (taken from https://www.paramander.com/blog/using-ports-to-deal-with-files-in-elm-0-17)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Image Upload for elm 0.18

The code in this repository is taken from a blog post written by Tolga Paksoy.

Run it

elm reactor

Go to http://localhost:8000 and click on index.html.

If an image is chosen from the file field, it is displayed on the same page.

About

Example how to upload images with elm 0.18 (taken from https://www.paramander.com/blog/using-ports-to-deal-with-files-in-elm-0-17)


Languages

Language:JavaScript 98.2%Language:Elm 1.1%Language:HTML 0.8%