Skip to content

leonardehrenfried/imgix-url-scala

Repository files navigation

imgix-url

Latest version Scala.js Build Status

A tiny library for constructing Imgix URLs. Also available for ScalaJS.

Installation

libraryDependencies += "io.leonard" %%% "imgix-url" % "$version"

Usage

val builder = io.leonard.imgix.ImgixUrlBuilder("bucketname")
val url = builder.width(150).height(150).build("some-image.jpg")

There are many more parameters that can be added to an image URL. Just explore with your IDE.

About

A dependency-free library for constructing Imgix URLs

Resources

License

Stars

Watchers

Forks

Packages

No packages published