How can I upload full image and create thumbnail for it using Keystone.js CloudinaryImage field Type. Sometimes I need to have one image in multiple versions (transformations), e.g:
- fullsize
- thumbnail
- b&w thumbnail
What approach should I take?
How can I upload full image and create thumbnail for it using Keystone.js CloudinaryImage field Type. Sometimes I need to have one image in multiple versions (transformations), e.g:
What approach should I take?
If you haven't already, you should take a look at the Keystone's demo: https://github.com/JedWatson/keystone-demo Which uses Cloudinary for displaying images.
Specifically, see: https://github.com/JedWatson/keystone-demo/blob/287df31ff30d3784d109d21d73f0dee73a31698e/templates/views/gallery.jade#L25 Where an image is being limit cropped and displayed.