Thanks for that. Your code is much better and more succinct and the picture appears on xara program but when I publish no picture appears on the website. With your code there is a border edging where the picture should be which there wasn't with my code. It's as if it is hidden in some way and if only I could bring it to the foreground all would be okay but I tried >arrange>bring to front with no effect.