>> Lastly, put a line break in your code to make it easier when you "View >> Source" in the browser: >> echo '"></a>\n'; >I tried this and Konqueror prints nice little \n's between the images. I think: echo "></a>\n"; is better... Regards, ---> RGB <---