{"action":"opened","issue":{"url":"https://api.github.com/repos/keystonejs/keystone/issues/2182","labels_url":"https://api.github.com/repos/keystonejs/keystone/issues/2182/labels{/name}","comments_url":"https://api.github.com/repos/keystonejs/keystone/issues/2182/comments","events_url":"https://api.github.com/repos/keystonejs/keystone/issues/2182/events","html_url":"https://github.com/keystonejs/keystone/issues/2182","id":129297738,"number":2182,"title":"Using the CloudinaryImage.tag() function, results in an incorrect src url","user":{"login":"bringking","id":864845,"avatar_url":"https://avatars.githubusercontent.com/u/864845?v=3","gravatar_id":"","url":"https://api.github.com/users/bringking","html_url":"https://github.com/bringking","followers_url":"https://api.github.com/users/bringking/followers","following_url":"https://api.github.com/users/bringking/following{/other_user}","gists_url":"https://api.github.com/users/bringking/gists{/gist_id}","starred_url":"https://api.github.com/users/bringking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bringking/subscriptions","organizations_url":"https://api.github.com/users/bringking/orgs","repos_url":"https://api.github.com/users/bringking/repos","events_url":"https://api.github.com/users/bringking/events{/privacy}","received_events_url":"https://api.github.com/users/bringking/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-27T23:04:29Z","updated_at":"2016-01-27T23:04:29Z","closed_at":null,"body":"The schema method \"tag\" get's a field called \"path\"\r\n\r\nhttps://github.com/keystonejs/keystone/blob/master/fields/types/cloudinaryimage/CloudinaryImageType.js#L184\r\n\r\n```js\r\ntag: function(options) {\r\n\t\t\treturn exists(this) ? cloudinary.image(this.get(field.path), options) : '';\r\n\t\t},\r\n```\r\n\r\nthat is an object-\r\n\r\n```js\r\n{\r\n    public_id: '',\r\n    version: 0,\r\n    signature: '',\r\n    format: '',\r\n    resource_type: '',\r\n    url: '',\r\n    width: 0,\r\n    height: 0,\r\n    secure_url: '',\r\n}\r\n```\r\n\r\nThe result of using this function is an image tag that resembles -\r\n\r\n```html\r\n<img src=\"{cloudinaryName}/[object Object]\" />\r\n```"}}