{"action":"created","issue":{"url":"https://api.github.com/repos/keystonejs/keystone/issues/916","labels_url":"https://api.github.com/repos/keystonejs/keystone/issues/916/labels{/name}","comments_url":"https://api.github.com/repos/keystonejs/keystone/issues/916/comments","events_url":"https://api.github.com/repos/keystonejs/keystone/issues/916/events","html_url":"https://github.com/keystonejs/keystone/issues/916","id":54650182,"number":916,"title":"LocalFile Field Type Format not working","user":{"login":"prachaquant","id":7953643,"avatar_url":"https://avatars.githubusercontent.com/u/7953643?v=3","gravatar_id":"","url":"https://api.github.com/users/prachaquant","html_url":"https://github.com/prachaquant","followers_url":"https://api.github.com/users/prachaquant/followers","following_url":"https://api.github.com/users/prachaquant/following{/other_user}","gists_url":"https://api.github.com/users/prachaquant/gists{/gist_id}","starred_url":"https://api.github.com/users/prachaquant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prachaquant/subscriptions","organizations_url":"https://api.github.com/users/prachaquant/orgs","repos_url":"https://api.github.com/users/prachaquant/repos","events_url":"https://api.github.com/users/prachaquant/events{/privacy}","received_events_url":"https://api.github.com/users/prachaquant/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/keystonejs/keystone/labels/enhancement","name":"enhancement","color":"61a24c"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/keystonejs/keystone/milestones/4","html_url":"https://github.com/keystonejs/keystone/milestones/0.3.x","labels_url":"https://api.github.com/repos/keystonejs/keystone/milestones/4/labels","id":748849,"number":4,"title":"0.3.x","description":"Things that will be addressed after our move to React","creator":{"login":"JedWatson","id":872310,"avatar_url":"https://avatars.githubusercontent.com/u/872310?v=3","gravatar_id":"","url":"https://api.github.com/users/JedWatson","html_url":"https://github.com/JedWatson","followers_url":"https://api.github.com/users/JedWatson/followers","following_url":"https://api.github.com/users/JedWatson/following{/other_user}","gists_url":"https://api.github.com/users/JedWatson/gists{/gist_id}","starred_url":"https://api.github.com/users/JedWatson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JedWatson/subscriptions","organizations_url":"https://api.github.com/users/JedWatson/orgs","repos_url":"https://api.github.com/users/JedWatson/repos","events_url":"https://api.github.com/users/JedWatson/events{/privacy}","received_events_url":"https://api.github.com/users/JedWatson/received_events","type":"User","site_admin":false},"open_issues":26,"closed_issues":12,"state":"open","created_at":"2014-08-10T16:10:22Z","updated_at":"2015-03-17T00:35:32Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2015-01-17T04:24:38Z","updated_at":"2015-03-17T13:03:30Z","closed_at":null,"body":"```\r\nimage: { type: Types.LocalFile,dest: '/home/veda/ks/public/img', prefix: '/img',\r\n            format: function(item, file){\r\n                return '<img src=\"/img/'+file.path.replace('/home/ks/admin/public/img','')+'/'+file.filename+'\" style=\"max-width: 200px\"\\>';\r\n            }\r\n    },\r\n```\r\n\r\n![screen shot 2015-01-17 at 11 20 32](https://cloud.githubusercontent.com/assets/7953643/5787665/13fbc34a-9e3b-11e4-83ae-397b66f23834.png)\r\n\r\nIt show an image on keystone version 0.2.36 but  when I update to keystone 0.2.40 it show file name instead."},"comment":{"url":"https://api.github.com/repos/keystonejs/keystone/issues/comments/82333429","html_url":"https://github.com/keystonejs/keystone/issues/916#issuecomment-82333429","issue_url":"https://api.github.com/repos/keystonejs/keystone/issues/916","id":82333429,"user":{"login":"prachaquant","id":7953643,"avatar_url":"https://avatars.githubusercontent.com/u/7953643?v=3","gravatar_id":"","url":"https://api.github.com/users/prachaquant","html_url":"https://github.com/prachaquant","followers_url":"https://api.github.com/users/prachaquant/followers","following_url":"https://api.github.com/users/prachaquant/following{/other_user}","gists_url":"https://api.github.com/users/prachaquant/gists{/gist_id}","starred_url":"https://api.github.com/users/prachaquant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prachaquant/subscriptions","organizations_url":"https://api.github.com/users/prachaquant/orgs","repos_url":"https://api.github.com/users/prachaquant/repos","events_url":"https://api.github.com/users/prachaquant/events{/privacy}","received_events_url":"https://api.github.com/users/prachaquant/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T13:03:30Z","updated_at":"2015-03-17T13:03:30Z","body":"If change to common file field will that change data schema on mongodb? I'm working on project that depend on Localfile field."}}