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,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.
What is Automated image resizing?
Automated image resizing is a feature where Adhese scales images automatically to a certain size defined both in an Advar template and in client-side implementation.
Adhese uses the AWS Lambda image resizing service to automatically reduce the dimensions and file size of creatives. When the feature is used, the image will be resized based on the width.[PX]value that is added to the URL.
Why use image resizing?
ImagesThe thatuse have beenof resized canimages be madeimproves responsive designs and smaller.reduces Youbandwidth usage. By setting a viewport threshold, smaller images are served to smaller displays, which can designate a certain viewport size from which to start delivering smaller images. This allows images to be properly sized for smaller displays while significantly decreasingcut file sizes and bandwidth used.consumption. This is especially useful for implementations that are active on mobile devices.
How to use image resizing?
TheBy adding an extra parameter .width.{px} to the image resizingURL, hasyou tocan berequest enabled on account level and then incorporated in the Advar template that will be used to deliver youra resized creatives.
Client side, the values entered in the advar template will be replaced towith a specific size.width. The height will scale automatically to maintain aspect ratio.
OnceThe logic that adds the featureextra has'width' beenvalue enabledcould andbe implemented,provided youin canAdhese specifyitself, by adding extra code to an advar template, or could be added client side to the sizecode tothat resizeprocesses anthe imagead likemarkup.
For so (request example):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
With .width.{px} as what sets the resized image's size. Height scales automatically to maintain aspect ratio.


