Introduction

<img/>stack works by taking a URL to an image and instructions on what to do with that image to create a new image on the fly.

The URL structure for the service is:
http://imgstack.com/function/url to image?processing variables

The following functions are currently supported:

The examples below will use the following source image:

URL: http://imgstack.com/images/examples/headshot.jpg

resize


URL: http://imgstack.com/resize/imgstack.com/images/examples/headshot.jpg?resize.width=25&resize.height=25&resize.unit=percent

fittosize

URL: http://imgstack.com/fittosize/imgstack.com/images/examples/headshot.jpg?fitToSize.width=200&fitToSize.height=200

crop


URL: http://imgstack.com/crop/imgstack.com/images/examples/headshot.jpg?crop.top=30&crop.left=30&crop.bottom=70&crop.right=70&crop.unit=percent

thumbnail


URL: http://imgstack.com/thumbnail/imgstack.com/images/examples/headshot.jpg?thumbnail.size=140