Not allowed to load local resource

I’m trying to load the profile image of the users in the grid view. The path of the image that is generated is a valid one (I have checked it in the browser by manually running it) but it is not rendered in the grid view. I get an error in the console window which is as follows:

Not allowed to load local resource: http://...

This url looks invalid.


Do you have any access rules that could prevent the user from running the controller action in question?

Actually the forum was not allowing me to post url. Anyways the problem has been solved. All I had to do was make the folder readable. And it worked.