as ever, you da man! thanks that works perfectly
btw, if i were to add image 3 of 10, I can do the of 10 (of <?php echo $Gallery->TotalRows ?>), but how would I do the bit which says which image number it is?
oh and another btw, the query builder is amazing! thanks