Operations

If you have any doubts on how to use this, make sure you read our Getting Started guide.

  • :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




Options Available

  • 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 us to calculate the dimensions proportionally. (default: false)

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"
/>