1
0
Fork 0
mirror of synced 2024-07-06 07:00:56 +12:00
appwrite/docs/references/avatars/get-image.md
2022-04-20 10:31:12 +02:00

520 B

Use this endpoint to fetch a remote image URL and crop it to any image size you want. This endpoint is very useful if you need to crop and display remote images in your app or in case you want to make sure a 3rd party image is properly served using a TLS protocol.

When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 400x400px.