Laravel尝试渲染布局而不是返回png文件

I have this weird issue with Laravel 5.1. When I access a png file without /public before it (e.g. 127.0.0.1/file.png) Laravel renders the file correctly. But when I put public in front of it (e.g. 127.0.0.1/public/file.png), Laravel tries to render a layout. The file is located inside the public folder.

.htaccess

<IfModule mod_rewrite.c>
    <IfModule mod_negotiation.c>
        Options -MultiViews
    </IfModule>

    RewriteEngine On

    # Redirect Trailing Slashes...
    RewriteRule ^(.*)/$ /$1 [L,R=301]

    # Handle Front Controller...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]
</IfModule>

What can I do to fix this?

Thanks!

I solved it. I had to change the folder permissions to 755 and it worked.