U can use relative path.<BR>if ur html file is in directory B which is under directory A which is again under the root, and if u want to refer a image file myimage.gif which is in directory A,u can say<BR><BR><img scr="../myimage.gif"> in ur html file which is in B.<BR><BR>follow the same concept everywhere, so that u don't have any problems wherever u move ur site.hope this is helpful
Thanks for your reply. I understand what you said, but the scenario is different. The HTML page which refers to the images is an email attachment. In the HTML page I do not want to refer to the images using the physical path, is there any other way I can display the images in the HTML page? Remember, this page is sent to the user as an attachment and how can he view the entire HTML page with images is the question.<BR>Thanks again.
Even when u normally send attachments thru ur hotmail etc, u r uploading ur attachments to the hotmail server.so when the user opens his mail the image takes path from the hotmail server.that's it. u have to mention the path.may be upto the directory level u can store the path in some application variable and keep on changing the file names if u want to load dynamic images.