{"action":"opened","issue":{"url":"https://api.github.com/repos/z-song/laravel-admin/issues/262","repository_url":"https://api.github.com/repos/z-song/laravel-admin","labels_url":"https://api.github.com/repos/z-song/laravel-admin/issues/262/labels{/name}","comments_url":"https://api.github.com/repos/z-song/laravel-admin/issues/262/comments","events_url":"https://api.github.com/repos/z-song/laravel-admin/issues/262/events","html_url":"https://github.com/z-song/laravel-admin/issues/262","id":198494489,"number":262,"title":"[FILE] Can not crop image upload.","user":{"login":"taimaiduc","id":10907980,"avatar_url":"https://avatars.githubusercontent.com/u/10907980?v=3","gravatar_id":"","url":"https://api.github.com/users/taimaiduc","html_url":"https://github.com/taimaiduc","followers_url":"https://api.github.com/users/taimaiduc/followers","following_url":"https://api.github.com/users/taimaiduc/following{/other_user}","gists_url":"https://api.github.com/users/taimaiduc/gists{/gist_id}","starred_url":"https://api.github.com/users/taimaiduc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taimaiduc/subscriptions","organizations_url":"https://api.github.com/users/taimaiduc/orgs","repos_url":"https://api.github.com/users/taimaiduc/repos","events_url":"https://api.github.com/users/taimaiduc/events{/privacy}","received_events_url":"https://api.github.com/users/taimaiduc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-03T15:12:07Z","updated_at":"2017-01-03T15:12:07Z","closed_at":null,"body":" Dear guys I try to crop image and got issues\r\n\r\n```$form->image(\"thumb\",\"Thumbnail\")->crop(800,600,1,1);```\r\n\r\n![screenshot-localhost 8000-2017-01-03-22-11-16](https://cloud.githubusercontent.com/assets/10907980/21611934/99bc09a8-d201-11e6-982d-70d7ce01f550.png)\r\n\r\n\r\n```\r\n    /*\r\n     * Laravel-admin upload setting.\r\n     */\r\n    'upload'  => [\r\n\r\n        'disk' => 'public',\r\n\r\n        'directory'  => [\r\n            'image'  => 'images',\r\n            'file'   => 'files',\r\n        ],\r\n\r\n        'host' => 'http://localhost:8000/',\r\n    ],\r\n```\r\n\r\n```\r\n 'public' => [\r\n    'driver' => 'local',\r\n    'root' => public_path(),\r\n    'visibility' => 'public',\r\n    ],\r\n```"}}
{"actor":{"display_login":"taimaiduc"}}