Introduction
Images are a key part of any OTT platform. Motto provides a simple way to manage images in your project, and to serve them back to your users affordably and efficiently, so that you do not need a third-party image integration.Uploading images
Image uploads in the Studio are a part of the creation of event, creative works, entities or hero banners. When opening the creation sidebar, you can upload a thumbnail or poster for your event or creative work, or logo for your entity.
Downloading images
To download an image, follow these steps:- Open the image asset in the Studio.
- Right-click the image and select “Save image as…” (the exact wording depends on your browser).
- Choose where to save the file on your device.
Image resizing
Images are served from a URL with the following pattern:https://assets.mottocdn.com/images/<project_id>/<asset_id>
You can find your project_id using the instructions here.
If you are interested in serving your images in different sizes, you can add a width and height to this URL:
https://assets.mottocdn.com/images/<project_id>/<asset_id>?w=<width>&h=<height>
(you may also provide only a width or height, and the image will be resized proportionally).
