2020-10-25, 06:47 AM
Hello,
I've recently set up a custom field where users can enter in the URL to an image.
This image is then displayed on both their posts by using a div with style="background: url({$post['fid5']});"
and on their profile pages by using a div with style="background: url({$memprofile['fid5']});"
The problem is, the image is viewable on the user's profile page only when that specific user is logged in. I assume this has something to do with the "$memprofile" reference I used, but I am not familiar with the proper tag to put there.
Ideally, I want this image to be visible to anybody, including guests, regardless of login status and independent of their own image. This is already successfully accomplished in posts; I just can't figure it out for profile pages.
I've recently set up a custom field where users can enter in the URL to an image.
This image is then displayed on both their posts by using a div with style="background: url({$post['fid5']});"
and on their profile pages by using a div with style="background: url({$memprofile['fid5']});"
The problem is, the image is viewable on the user's profile page only when that specific user is logged in. I assume this has something to do with the "$memprofile" reference I used, but I am not familiar with the proper tag to put there.
Ideally, I want this image to be visible to anybody, including guests, regardless of login status and independent of their own image. This is already successfully accomplished in posts; I just can't figure it out for profile pages.