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.

Height

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

The proportional width will be calculated automatically.

Example

https://img.imageboss.me /mywebsite-images /height /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="height"
    height="700"
/>