The Contentful Images API allows the retrieval and manipulation of image files referenced from assets.
The JSON representation of an asset in Contentful looks like this:
"fields": {
"title": "Playsam Streamliner",
"file": {
"fileName": "quwowooybuqbl6ntboz3.jpg",
"contentType": "image/jpg",
"details": {
"image": {
"width": 600,
"height": 446
},
"size": 27187
},
"url": "//images.ctfassets.net/yadj1kx9rmg0/wtrHxeu3zEoEce2MokCSi/cf6f68efdcf625fdc060607df0f3baef/quwowooybuqbl6ntboz3.jpg"
}
}
This reference covers the parameters you can append to the URL specified in the file.url
field to manipulate and convert images.
To upload images to Contentful, refer here.
Note: As per the Technical Limits specifications, size of an image uploaded must not exceed 100MB. Images exceeding the size limit are treated as assets and the transformation features offered by the API are not applicable.
Note: For EU data residency customers, the Base URL is https://images.eu.ctfassets.net.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4