Hi i have a gallery page and i can set the gallery to either public or private.
if it is public of course everyone can see it. If it is private then only the owner can see it.
My members want to be able to link to images in chat, and i can do that by just posting the url in chat.
The problem is that if the album is private (table field is set to "Private") it still shows the image.
What is the best way that when someone posts a url of an image it checks to see if the db value is private and if so it blocks from view.
I know how to do php but i dont know what option or function to use for this.