Skip to main content

Automated image resizing

What is Automated image resizing?

Adhese uses the AWS Lambda image resizing service to automatically reduce the dimensions and file size of images, allowing you to request several versions of an image that is uploaded as part of a creative in Adhese. 

The image resizing feature is a custom feature that requires setup and integration, please contact Support if you would like to make use of it.

As the image resizer uses an external service, enabling this feature might be subject to extra costs depending on your licencing agreement with Adhese. Please contact us if you're unsure.

Why use image resizing?

The use of resized images improves responsive designs and reduces bandwidth usage. By setting a viewport threshold, smaller images are served to smaller displays, which can cut file sizes and bandwidth consumption. This is especially useful for implementations that are active on mobile devices.

How to use image resizing?

By adding an extra parameter .width.{px} to the image URL, you can request a resized version with a specific width. The height will scale automatically to maintain aspect ratio.

The logic that adds the extra 'width' value could be provided in Adhese itself, by adding extra code to an advar template, or could be added client side to the code that processes the ad markup.

For example:

https://demo-preview.adhese.org/pool/lib/8_2nd_1.png
https://demo-preview.adhese.org/pool/lib/8_2nd_1.png.width.150

image.png