> ...... echo " <a > it produces a space between the images, is this just a simple > case of displaying the images with a <td> ? try: echo "<a instead of: echo " <a ie. no space before the <a> tag. it could be that space that's causing the space between the images. benji.