Operations

Make sure to read our Getting Started guide if you aren't sure how to use the ImageBoss Operations.

  • :operation is the main manipulation you want to do with your image.

Width

Use width if you want your final image to have a fixed width.

The proportional height will be calculated automatically.


Example

https://img.imageboss.me /mywebsite-images /width /700 /examples /02.jpg




Available Options

  • withoutEnlargement Set this option to true if you don't want the original image to exceed its original dimensions. (default: false)

  • ignoreAspectRatio Set this to true if you don't want the dimensions calculated proportionally. (default: false)


Examples

https://img.imageboss.me /mywebsite-images /height /700 /withoutEnlargement:true /examples/02.jpg


https://img.imageboss.me /mywebsite-images /height /700 /ignoreAspectRatio:true /examples/02.jpg


Using ImageBoss Web Library

<img
    src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="
    data-imageboss-src="/examples/02.jpg"
    data-imageboss-operation="width"
    width="700"
/>