I recently discovered Alibaba Image cloud hosting which I think is marvelous, I can simply upload images to my buckets, and then specify cropping, watermark, size etc using parameters on the image url.
examples:
Original:
=
Crop without resizing first:
=
Crop with resizing first:
=
I would love to integrate a image upload function from within couch, so rather then it using the normal file uploader, it puts the image onto Alibaba and then saves the URL to that image in couch. I assume I'd have to go about this by creating a plugin?
Any ideas where to start, I have a talented coder to my assistance but he never used couch before
examples:
Original:
- Code: Select all
https://gir.oss-ap-southeast-2.aliyuncs.com/images/dining-reflections-pool.jpg
=
Crop without resizing first:
- Code: Select all
https://gir.oss-ap-southeast-2.aliyuncs.com/images/dining-reflections-pool.jpg?x-oss-process=image/quality,Q_45/crop,w_300,h_300,g_center
=
Crop with resizing first:
- Code: Select all
https://gir.oss-ap-southeast-2.aliyuncs.com/images/dining-reflections-pool.jpg?x-oss-process=image/quality,Q_45/resize,h_300/crop,w_300,h_300,g_center
=
I would love to integrate a image upload function from within couch, so rather then it using the normal file uploader, it puts the image onto Alibaba and then saves the URL to that image in couch. I assume I'd have to go about this by creating a plugin?
Any ideas where to start, I have a talented coder to my assistance but he never used couch before