{"action":"closed","issue":{"url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/4569","labels_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/4569/labels{/name}","comments_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/4569/comments","events_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/4569/events","html_url":"https://github.com/silverstripe/silverstripe-framework/issues/4569","id":104366035,"number":4569,"title":"BUG Image_Cached objects (resampled images) don't inherit all properties","user":{"login":"jonom","id":1079425,"avatar_url":"https://avatars.githubusercontent.com/u/1079425?v=3","gravatar_id":"","url":"https://api.github.com/users/jonom","html_url":"https://github.com/jonom","followers_url":"https://api.github.com/users/jonom/followers","following_url":"https://api.github.com/users/jonom/following{/other_user}","gists_url":"https://api.github.com/users/jonom/gists{/gist_id}","starred_url":"https://api.github.com/users/jonom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonom/subscriptions","organizations_url":"https://api.github.com/users/jonom/orgs","repos_url":"https://api.github.com/users/jonom/repos","events_url":"https://api.github.com/users/jonom/events{/privacy}","received_events_url":"https://api.github.com/users/jonom/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-09-01T22:18:32Z","updated_at":"2015-09-03T01:45:40Z","closed_at":"2015-09-03T01:45:40Z","body":"When `Image_Cached` objects are created in `Image::getFormattedImage()` only the Title and ParentID properties are copied from the source `Image` object. All other properties, including any assigned by extensions, are ignored. This means you can't access any custom Image properties (such as a Caption or a set of [focus point](https://github.com/jonom/silverstripe-focuspoint) coordinates :wink:) on resampled image instances in templates. This is bad for chainabiilty and template flexibility.\r\n\r\nI figure this is a bug, and hopefully not very hard to fix but I'm not sure the best way to go about it. I would think though that rather than specify the properties you *do* want to copy to the new Image_cached object, it would be better to specify the exclusions (ID and Filename?) and copy everything else."}}