Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Thumbor metadata example
{
"thumbor": {
"operations": [
{
"top": 316,
"right": 1632,
"type": "crop",
"bottom": 909,
"left": 0
},
{
"width": 550,
"type": "resize",
"height": 200
}
],
"source": {
"url": "http:\/\/www.eduherraiz.com\/media\/portfolio\/uploads\/2015\/04\/13\/dsc01223.jpg",
"width": 1632,
"height": 1224
},
"focal_points": [
{
"origin": "alignment",
"height": 1,
"width": 1,
"y": 612,
"x": 816,
"z": 1
}
],
"target": {
"width": 550,
"height": 200
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.