ah, nice. that’s easier than what I came up with, which was a snippet that queries the db and looks for the customfield that matches. the output of the query was a comma-delimited list of picture id’s. i’ll give that a shot.
on a related note, I know that custom fields are text. If I want to use a custom field that is yes/no, I should be able to use a checkbox for the display in the MG manager, shouldn’t I? For example:
<input type="checkbox"
name="[+maxigallery.fieldnames.myfieldname+]"
value="yes"
onClick="document.editform.[+maxigallery.fieldnames.modified+].value='yes'"
[+maxigallery.picture.myfieldname:is=`yes`:then=`checked="checked"`+]/>
This displays the DB value properly, but I’ve had problems saving any changes to it. In looking at the code, it looks like it should read this.