![]() Now that we have the image URLs, let's do some magic. ![]() You can utilize these URLs to try out the image transformation or get your own image URLs by following the previous steps. The image URLs used in this tutorial can be seen below. If you want to use the asset in your app, we recommend that you insert the asset into a content item and then retrieve the item with the asset. The URL you copy from asset details may change when you update the asset. By doing so, you can make sure that the uploaded images are of appropriate size when used in the content items. You might also want to set the file size limit and the limitations for the dimensions of the image. The adjustable image formats are jpeg, png, gif, and webp. This means that only image formats that support image transformation can be added to the element. ![]() In the content type, you can set the limitations for the Asset and Rich Text elements to "Adjustable images" only. This way, content editors can only publish the content items containing the images in the right format and within the set dimensions. Setting up the limitations in the appīefore you start working with images via the Delivery API, we recommend configuring proper limitations for the elements in your content types. For example, instead of uploading multiple versions of the same image, you can use one asset and resize it to fit different device resolutions via image transformation.īy optimizing your images, Google is also likely to crawl and index your images faster for Google image search. Delivery API allows you to perform dynamic transformations on your images by changing the URL of the image.
0 Comments
Leave a Reply. |