I have thumbs in cfs record. But I am not able to get url of thumbs in meteor+react.
db.cfs.images.filerecord.find({"_id":"LcRQLRAS4ntba2uJX"}).pretty()
{
"_id" : "LcRQLRAS4ntba2uJX",
"original" : {
"name" : "test-108x108_03.png",
"updatedAt" : ISODate("2016-10-04T08:04:51Z"),
"size" : 2629,
"type" : "image/png"
},
"metadata" : {
"owner" : "qPTnwxfpPpfMFGuTa"
},
"copies" : {
"thumbs" : {
"name" : "test-108x108_03.png",
"size" : 100,
"type" : "image/png",
"updatedAt" : ISODate("2016-12-01T10:17:01.060Z")
},
"images" : {
"name" : "test-108x108_03.png",
"type" : "image/png",
"size" : 2629,
"key" : "583ff89e03be95ce674ed837",
"updatedAt" : ISODate("2016-12-01T10:17:02.605Z"),
"createdAt" : ISODate("2016-12-01T10:17:02.605Z")
}
},
"uploadedAt" : ISODate("2016-12-01T10:17:02.492Z")
}
i am getting below url:-
/cfs/files/images/LcRQLRAS4ntba2uJX/test-108x108_03.png?token=eyJhdXRoVG9rZW4iOiIuVVdXLUs0b3ExY3dKbjl2NVplZ3RoV3dFalBjaVhnSi15eFVBRVdPbUpWIn0%3D
But i want url of thumbs which is available in above record. And any other way to create thumbils of any image in meteor+react.
Please advice