September 2017
Intermediate to advanced
450 pages
11h 24m
English
Let's add image transformation URL parameters to our image API using Cloudinary's transformation options by following these steps:
var cloudinary = require('cloudinary');var JSONAPIError = require('jsonapi-serializer').Error;var _pick = require('lodash/pick');var self = module.exports = { ... getTransformation: function(req, res, next) { let transforms = _pick(req.query, ['width', 'height', 'crop', ...
Read now
Unlock full access