Score:0

Getting different Public path for admin and anonymous users

cn flag

My site was built using Lightning Drupal distribution.

I had my public path as /sites/default/files. I did change the configuration path to /sites/<my_domain>/files in the middle of the project. From then, when I upload an image to a node it's taking the destination as /sites/<my_domain>/files as expected.

Problem:

I've created a view block to display the node titles and images on the home page. The image for the admin user is rendering from the correct path /sites//files. But whereas for anonymous it's taking the path as /sites/default/files.

I'm just wondering, how the same view image is taking different public paths for "anonymous" and "admin"

Any suggestions?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.