Not sure if I understand correctly, but couldn't you just call the ID of the image object and convert the position attribute to absolute?
var imgObj = document.images['myImg'];
I don't think he's talking about abs positioning, he wants the absolute URL.
instead of just
couldn't you just make a link that goes to the relative path, then it would show the entire path in the address bar.
ie: <a href="image.gif">
that would take you to the image and show the URL... or you could just right-click it.
I'm not sure if I understand your problem though.
My apologies for the stupid reply, but I think I might try again.
I place all my images in one image folder ie. http://www.mydom.co.za/images/,
and therefore never call an image using dots infront of the forward slash. To go all the way back to the very first image folder, I type <IMG SRC="/images/img.gif">.
No matter where the page is on my domain, just a forward slash infront of the image takes it right back to the root, then calls the images directory.
But if your image isn't always going to be in the same folder, then I cannot be 100% sure. I know to get the actual directory path of an image you'd use mapPath("imgname.gif");
yup, that is the problem the images can't be in the same directory and thus need to be relative. Guess i will have to keep looking.
Thanks for the help.