{"action":"opened","issue":{"url":"https://api.github.com/repos/PendalF89/yii2-filemanager/issues/49","labels_url":"https://api.github.com/repos/PendalF89/yii2-filemanager/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/PendalF89/yii2-filemanager/issues/49/comments","events_url":"https://api.github.com/repos/PendalF89/yii2-filemanager/issues/49/events","html_url":"https://github.com/PendalF89/yii2-filemanager/issues/49","id":124071616,"number":49,"title":"Can you add a setting for thumbnail URL? or is my route config wrong?","user":{"login":"con322","id":6308063,"avatar_url":"https://avatars.githubusercontent.com/u/6308063?v=3","gravatar_id":"","url":"https://api.github.com/users/con322","html_url":"https://github.com/con322","followers_url":"https://api.github.com/users/con322/followers","following_url":"https://api.github.com/users/con322/following{/other_user}","gists_url":"https://api.github.com/users/con322/gists{/gist_id}","starred_url":"https://api.github.com/users/con322/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/con322/subscriptions","organizations_url":"https://api.github.com/users/con322/orgs","repos_url":"https://api.github.com/users/con322/repos","events_url":"https://api.github.com/users/con322/events{/privacy}","received_events_url":"https://api.github.com/users/con322/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-28T14:01:16Z","updated_at":"2015-12-28T14:01:16Z","closed_at":null,"body":"I have the following route setup in my backend config:\r\n\r\n            'routes' => [\r\n                // Base absolute path to web directory\r\n                'baseUrl' => '',\r\n                // Base web directory url\r\n                'basePath' => '@frontend',\r\n                // Path for uploaded files in web directory\r\n                'uploadPath' => 'uploads',\r\n            ],\r\n\r\nThe files are uploaded to the correct directory however once uploaded the following message is displayed:\r\n\r\n    {\"files\":[{\"url\":\"/uploads/2015/12/test.jpg\",\"thumbnailUrl\":\"/backend/uploads/2015/12/test-128x128.jpg\",\"name\":\"test.jpg\",\"type\":\"image/jpeg\",\"size\":9713,\"deleteUrl\":\"/backend/filemanager/file/delete?id=2\",\"deleteType\":\"POST\"}]}\r\n\r\nAs you can see the thumbnail URL has backend at the beginning which isn't necessary.\r\n"}}