Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 853 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 853 Bytes

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.