Will create, fetch, cache and use the external image.
Query Parameters
Name
Type
Description
sourceformat
string
St the format of the external image. Default is jpg
imgsrc
string
Decoded url for the external image to fetch.
Functions
Imengine offers a number of functions for manipulating images. Each function comes with it's own set of parameters. Source of origin also needs to be specified on all calls.
Crop cover image
GEThttps://imengine.example.com/?function=cover
Takes the original image ratio and customise the width and height to keep original ratio of the image.
This function is typically used together with the NewsML article document data created with Naviga Creation tools.
Crops image into defined crop size from custom start position. Then scale into defined size.
Query Parameters
Name
Type
Description
crop_w
number
Width of the soft crop in percent of the original image.
crop_h
number
Height of the soft crop in percentage of the original image.
width
integer
Width of the resulting image.
height
integer
Height of the resulting image.
x
number
Horisontal start position for the soft crop, as percentage of the original image from the left.
y
number
Vertical start position for the soft crop, as percentage of the original image from the top.
Examples:
Cropresize examples
Crop fit image
GEThttps://imengine.example.com/?function=fit
Scale image to fit inside the limits. Add scale up to make the image cover the max size area. Can exceed limits on scale up.