Auto Hide Photos Based on Keyword/Tags of EXIF?

Hello There!

Just wondering if there was a way to somehow filter or automatically make a photo hidden based on a keyword or tag in EXIF? Something like this in the images.php file I suppose may work, but I wouldn't mind an extra hand:
`

if (printTags('links', gettext('taglist')) != "private")

$fullimage = getFullImageURL();

else

$goto_next_image();

endif

`
Well, this is more pseudo code than anything, but I hope the point is understood. Maybe I'm looking in the wrong file? Maybe i.php is more appropriate for something like this?

Comments

  • This is something you would have to implement yourself. The "filter" facilities of Zenphoto should aid you in doing this, though. Take a look at the `filter-new_object` plugin for a start. There is a filter that gets called whenever a new image is discovered. You should be able to check the tags and if 'private' is one of them mark the image as not visible.
  • SendDerek, if you get this working I would be interested in knowing how you did it. I have the same need, but am not familiar enough w/ PHP to even start on something like this. Thanks in advance!!!
Sign In or Register to comment.