Hi ,

I am trying to display some images which are not in my root directory. Lets say the image path is C:\Users\Public\Pictures\Sample Pictures and my website is at c:/xampp/htdocs/test.

I have been able to get the path of the Images using Directory Iterator. Now I need to display each of these images in a popup. For that I am using the following Javascript

function newPopup(url) {
	var path = "file:///"
	popupWindow = window.open(
and I am calling it from MY php fille as
PHP Code:
echo '<td width="150"><a href="JavaScript:newPopup(\''.$url.'\');">ScreenShot</a></td>'
where $url is path of file as C:/Users/Public/Pictures/Sample Pictures/001.jpg.

But the popup does not even open. What am I doing wrong here