{"action":"closed","issue":{"url":"https://api.github.com/repos/UniSharp/laravel-filemanager/issues/328","repository_url":"https://api.github.com/repos/UniSharp/laravel-filemanager","labels_url":"https://api.github.com/repos/UniSharp/laravel-filemanager/issues/328/labels{/name}","comments_url":"https://api.github.com/repos/UniSharp/laravel-filemanager/issues/328/comments","events_url":"https://api.github.com/repos/UniSharp/laravel-filemanager/issues/328/events","html_url":"https://github.com/UniSharp/laravel-filemanager/issues/328","id":232440555,"node_id":"MDU6SXNzdWUyMzI0NDA1NTU=","number":328,"title":"uploaded image don't show me without authenticated","user":{"login":"arbabi2010","id":5072444,"node_id":"MDQ6VXNlcjUwNzI0NDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/5072444?v=4","gravatar_id":"","url":"https://api.github.com/users/arbabi2010","html_url":"https://github.com/arbabi2010","followers_url":"https://api.github.com/users/arbabi2010/followers","following_url":"https://api.github.com/users/arbabi2010/following{/other_user}","gists_url":"https://api.github.com/users/arbabi2010/gists{/gist_id}","starred_url":"https://api.github.com/users/arbabi2010/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arbabi2010/subscriptions","organizations_url":"https://api.github.com/users/arbabi2010/orgs","repos_url":"https://api.github.com/users/arbabi2010/repos","events_url":"https://api.github.com/users/arbabi2010/events{/privacy}","received_events_url":"https://api.github.com/users/arbabi2010/received_events","type":"User","site_admin":false},"labels":[{"id":241811546,"node_id":"MDU6TGFiZWwyNDE4MTE1NDY=","url":"https://api.github.com/repos/UniSharp/laravel-filemanager/labels/bug","name":"bug","color":"fc2929","default":true},{"id":336789799,"node_id":"MDU6TGFiZWwzMzY3ODk3OTk=","url":"https://api.github.com/repos/UniSharp/laravel-filemanager/labels/in-progress","name":"in-progress","color":"eb6420","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2017-05-31T03:06:40Z","updated_at":"2018-10-19T08:29:26Z","closed_at":"2018-10-19T08:29:26Z","author_association":"NONE","body":"Hi,\r\nI'm using last version a i can upload image successfully in admin panel with ['web','auth:admin'] middleware . but in website i can't see my uploaded image. however when i login to admin panel images show me in website. what's problem with my configuration.\r\n\r\n\r\n\r\n    /*\r\n    |--------------------------------------------------------------------------\r\n    | Routing\r\n    |--------------------------------------------------------------------------\r\n    */\r\n\r\n    // Include to pre-defined routes from package or not. Middlewares\r\n    'use_package_routes' => true,\r\n\r\n    // Middlewares which should be applied to all package routes.\r\n    // For laravel 5.1 and before, remove 'web' from the array.\r\n    'middlewares' => ['web','auth:admin'],\r\n\r\n    // The url to this package. Change it if necessary.\r\n    'prefix' => 'laravel-filemanager',\r\n\r\n    /*\r\n    |--------------------------------------------------------------------------\r\n    | Multi-User Mode\r\n    |--------------------------------------------------------------------------\r\n    */\r\n\r\n    // If true, private folders will be created for each signed-in user.\r\n    'allow_multi_user' => false,\r\n    // If true, share folder will be created when allow_multi_user is true.\r\n    'allow_share_folder' => true,\r\n\r\n    // Flexibla way to customize client folders accessibility\r\n    // Ex: The private folder of user will be named as the user id.\r\n    'user_field' => function() {\r\n        return auth()->guard('admin')->user()->id;\r\n    },\r\n\r\n    /*\r\n    |--------------------------------------------------------------------------\r\n    | Working Directory\r\n    |--------------------------------------------------------------------------\r\n    */\r\n\r\n    // Which folder to store files in project, fill in 'public', 'resources', 'storage' and so on.\r\n    // You should create routes to serve images if it is not set to public.\r\n    'base_directory' => 'public',\r\n\r\n    'images_folder_name' => 'photos',\r\n    'files_folder_name'  => 'files',\r\n\r\n    'shared_folder_name' => 'shares',\r\n    'thumb_folder_name'  => 'thumbs',\r\n\r\n    /*\r\n    |--------------------------------------------------------------------------\r\n    | Startup Views\r\n    |--------------------------------------------------------------------------\r\n    */\r\n\r\n    // The default display type for items.\r\n    // Supported: \"grid\", \"list\"\r\n    'images_startup_view' => 'grid',\r\n    'files_startup_view' => 'list',\r\n\r\n    /*\r\n    |--------------------------------------------------------------------------\r\n    | Upload / Validation\r\n    |--------------------------------------------------------------------------\r\n    */\r\n\r\n    // If true, the uploaded file will be renamed to uniqid() + file extension.\r\n    'rename_file' => false,\r\n\r\n    // If rename_file set to false and this set to true, then non-alphanumeric characters in filename will be replaced.\r\n    'alphanumeric_filename' => true,\r\n\r\n    // If true, non-alphanumeric folder name will be rejected.\r\n    'alphanumeric_directory' => false,\r\n\r\n    // If true, the uploading file's size will be verified for over than max_image_size/max_file_size.\r\n    'should_validate_size' => false,\r\n\r\n    'max_image_size' => 50000,\r\n    'max_file_size' => 50000,\r\n\r\n    // If true, the uploading file's mime type will be valid in valid_image_mimetypes/valid_file_mimetypes.\r\n    'should_validate_mime' => false,\r\n\r\n    // available since v1.3.0\r\n    'valid_image_mimetypes' => [\r\n        'image/jpeg',\r\n        'image/pjpeg',\r\n        'image/png',\r\n        'image/gif',\r\n        'image/svg+xml',\r\n    ],\r\n\r\n    // available since v1.3.0\r\n    // only when '/laravel-filemanager?type=Files'\r\n    'valid_file_mimetypes' => [\r\n        'image/jpeg',\r\n        'image/pjpeg',\r\n        'image/png',\r\n        'image/gif',\r\n        'image/svg+xml',\r\n        'application/pdf',\r\n        'text/plain',\r\n    ],\r\n\r\n    /*\r\n    |--------------------------------------------------------------------------\r\n    | Image / Folder Setting\r\n    |--------------------------------------------------------------------------\r\n    */\r\n\r\n    'thumb_img_width' => 200,\r\n    'thumb_img_height' => 200,\r\n\r\n    /*\r\n    |--------------------------------------------------------------------------\r\n    | File Extension Information\r\n    |--------------------------------------------------------------------------\r\n    */\r\n\r\n    'file_type_array' => [\r\n        'pdf'  => 'Adobe Acrobat',\r\n        'doc'  => 'Microsoft Word',\r\n        'docx' => 'Microsoft Word',\r\n        'xls'  => 'Microsoft Excel',\r\n        'xlsx' => 'Microsoft Excel',\r\n        'zip'  => 'Archive',\r\n        'gif'  => 'GIF Image',\r\n        'jpg'  => 'JPEG Image',\r\n        'jpeg' => 'JPEG Image',\r\n        'png'  => 'PNG Image',\r\n        'ppt'  => 'Microsoft PowerPoint',\r\n        'pptx' => 'Microsoft PowerPoint',\r\n    ],\r\n\r\n    'file_icon_array' => [\r\n        'pdf'  => 'fa-file-pdf-o',\r\n        'doc'  => 'fa-file-word-o',\r\n        'docx' => 'fa-file-word-o',\r\n        'xls'  => 'fa-file-excel-o',\r\n        'xlsx' => 'fa-file-excel-o',\r\n        'zip'  => 'fa-file-archive-o',\r\n        'gif'  => 'fa-file-image-o',\r\n        'jpg'  => 'fa-file-image-o',\r\n        'jpeg' => 'fa-file-image-o',\r\n        'png'  => 'fa-file-image-o',\r\n        'ppt'  => 'fa-file-powerpoint-o',\r\n        'pptx' => 'fa-file-powerpoint-o',\r\n    ],\r\n\r\n    /*\r\n    |--------------------------------------------------------------------------\r\n    | php.ini override\r\n    |--------------------------------------------------------------------------\r\n    */\r\n    // These values override your php.ini settings before uploading files\r\n    // Set these to false to ingnore and apply your php.ini settings\r\n    'php_ini_overrides' => [\r\n        'memory_limit'        => '256M'\r\n    ]\r\n"}}
{"actor":{"display_login":"g0110280"}}