{"action":"closed","issue":{"url":"https://api.github.com/repos/ckfinder/ckfinder/issues/65","labels_url":"https://api.github.com/repos/ckfinder/ckfinder/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/ckfinder/ckfinder/issues/65/comments","events_url":"https://api.github.com/repos/ckfinder/ckfinder/issues/65/events","html_url":"https://github.com/ckfinder/ckfinder/issues/65","id":69617878,"number":65,"title":"CKFinder breaks when sizes of thumbnails are modified in config.php","user":{"login":"wwalc","id":545175,"avatar_url":"https://avatars.githubusercontent.com/u/545175?v=3","gravatar_id":"","url":"https://api.github.com/users/wwalc","html_url":"https://github.com/wwalc","followers_url":"https://api.github.com/users/wwalc/followers","following_url":"https://api.github.com/users/wwalc/following{/other_user}","gists_url":"https://api.github.com/users/wwalc/gists{/gist_id}","starred_url":"https://api.github.com/users/wwalc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wwalc/subscriptions","organizations_url":"https://api.github.com/users/wwalc/orgs","repos_url":"https://api.github.com/users/wwalc/repos","events_url":"https://api.github.com/users/wwalc/events{/privacy}","received_events_url":"https://api.github.com/users/wwalc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ckfinder/ckfinder/labels/Bug","name":"Bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ckfinder/ckfinder/milestones/1","html_url":"https://github.com/ckfinder/ckfinder/milestones/CKFinder%203.0.0-beta2","labels_url":"https://api.github.com/repos/ckfinder/ckfinder/milestones/1/labels","id":1075355,"number":1,"title":"CKFinder 3.0.0-beta2","description":"The second, a bit more public beta release.","creator":{"login":"wwalc","id":545175,"avatar_url":"https://avatars.githubusercontent.com/u/545175?v=3","gravatar_id":"","url":"https://api.github.com/users/wwalc","html_url":"https://github.com/wwalc","followers_url":"https://api.github.com/users/wwalc/followers","following_url":"https://api.github.com/users/wwalc/following{/other_user}","gists_url":"https://api.github.com/users/wwalc/gists{/gist_id}","starred_url":"https://api.github.com/users/wwalc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wwalc/subscriptions","organizations_url":"https://api.github.com/users/wwalc/orgs","repos_url":"https://api.github.com/users/wwalc/repos","events_url":"https://api.github.com/users/wwalc/events{/privacy}","received_events_url":"https://api.github.com/users/wwalc/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":40,"state":"open","created_at":"2015-04-20T14:25:48Z","updated_at":"2015-05-20T11:08:40Z","due_on":"2015-05-13T22:00:00Z","closed_at":null},"comments":1,"created_at":"2015-04-20T15:49:27Z","updated_at":"2015-05-20T11:08:40Z","closed_at":"2015-05-20T11:08:40Z","body":"1. Open CKFinder in a browser, as a user set the size of thumbnails to 450\r\n2. Open config.php and paste the following:\r\n\r\n```\r\n  'thumbnails' => array(\r\n    'enabled'      => true,\r\n    'sizes'        => array(\r\n      array('width' => '150', 'height' => '150', 'quality' => 80),\r\n      array('width' => '200', 'height' => '200', 'quality' => 80),\r\n      array('width' => '250', 'height' => '250', 'quality' => 80),\r\n    ),\r\n    'bmpSupported' => true,\r\n  ),\r\n```\r\n\r\nNote that the maximum allowed value is now smaller than the one that user set in his browser.\r\n\r\n\r\nResult after refreshing the page - a JavaScript error, no toolbar and a completely empty files pane:\r\n```\r\nUncaught TypeError: Cannot read property 'thumb' of undefined\r\n```\r\n\r\n![image](https://cloud.githubusercontent.com/assets/545175/5614639/4a519920-94f3-11e4-975c-a1069b21b5ef.png)\r\n\r\n"}}