Please consider using Python its much easier. > <dtml-if "objectValues()=='Image'"> Whats this meant to be? objectValues is a list of all the objects in a folder. If you are trying test the objects type use <dtml-if "meta_type == 'Image'"> -- Andy McKay http://www.agmweb.ca