Or: <dtml-if "restrictedTraverse('photos2/'+id+'.thumb.jpg', None)"> has the image <dtml-else> no image </dtml-if> http://www.zopezen.org/Members/zopista/1022017227 -- Andy McKay