This package aims at easing the manipulation and display of a collection of images.
elm-package install mpizenberg/elm-image-collection
Collection is basically an elm
Dict String Image.
So anything you can do with a
Dict can be done with a
For example, to add an image to the collection, simply use
collection : Collection collection = Dict.empty newCollection = Dict.insert "1" (Image "1.jpg" 320 240) collection
A running example is available in the file
You can find the package documentation on the elm package website
This Source Code Form is subject to the terms of the Mozilla Public License,v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
Feel free to contact me at email@example.com for any question.
Great thanks to Matthias KtorZ who introduced me to elm.