Hit me with the basics

Just call Boxresizer with an image url and some parameters...

 
<img src="http://proxy.boxresizer.com/convert?resize=50x50&source=http%3A%2F%2Fexample.com%2Fuploads%2F39c0c11af.png" />
				

Boxresizer will grab your image and resize, transform or adjust the quality based on the parameters you provided.

NOTE: BoxResizer runs on Amazon EC2 which states "The Amazon EC2 Service Level Agreement commitment is 99.95% availability", so its pretty reliable for the amount of load we are currently receiving. If you feel the service is too slow, we can set up your own instance of boxresizer with the above specs which would be more than you will ever need. This will also be free as long as we can keep up with demand. Find us on twitter below to request your own instance. We are currently working on a caching mechanism that would make the service much faster.

Configuring Boxresizer

Available Boxresizer parameters

  • source

    The url of the image to convert. This image has to live somewhere on the net already.

    Type
    String
  • resize

    Resize the image, in "WidthxHeight" format.

    Values
    e.g. 20x30
    Type
    String
  • flip

    Flips the image horizontally or vertically

    Values
    horizontal (default) | vertical
    Type
    String
  • rotate

    Rotates the image given an angle

    Values
    e.g. 20 | 90
    Type
    Number
  • format

    Changes the format of the image

    Values
    gif, jpg, png, png8, etc
    Type
    String
  • quality

    Changes the quality of the image

    Values
    0 .. 100
    Type
    Number
  • shape

    The shape of the image, when resizing or thumb-nailing to a different aspect ratio

    Values
    preserve | pad
    Type
    String