This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
Managing and displaying collections of images
version 4.0.2
license MPL-2.0
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 4.0.2
Committed At 2017-06-26 04:06:32 UTC
elm-lang/svg 2.0.0 <= v < 3.0.0 2.0.0
elm-lang/html 2.0.0 <= v < 3.0.0 2.0.0
elm-lang/core 5.0.0 <= v < 6.0.0 5.1.1

README

elm-image-collection

This package aims at easing the manipulation and display of a collection of images.

Installation

elm-package install mpizenberg/elm-image-collection

Usage

A Collection is basically an elm Dict String Image. So anything you can do with a Dict can be done with a Collection. For example, to add an image to the collection, simply use Dict.insert:

collection : Collection
collection = Dict.empty

newCollection = Dict.insert "1" (Image "1.jpg" 320 240) collection

A running example is available in the file example/collection.elm.

Documentation

You can find the package documentation on the elm package website

License

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/.

Contact

Feel free to contact me at matthieu.pizenberg@gmail.com for any question.

Credits

Great thanks to Matthias KtorZ who introduced me to elm.