There u go
<%
Const ForReading = 1, ForWriting = 2, ForAppending = 8
set FSO = Server.CreateObject("Scripting.FileSystemObject"
GetImage = filePath
set myFile = FSO.GetFile(GetImage)
%>
<html>
<head>
<title>GetImage IfExists</title>
</head>
<body>
<%
response.write "<img src="""&myfile&""">"
Response.Write "<b>" &myfile& "</b>"
%>
</body>
</html>
<%
function filePath
filepath = request.servervariables("PATH_TRANSLATED"

blnFound = True
icount = 1 'start at the beguining of the string
While blnfound = True
'find a \ in the file path
if InStr(icount,filepath,"\"

>= 1 Then
'set the counter to look for another "\" after the one it has just found
icount = instr(icount,filepath,"\"

+ 1
else
' no more "\"
blnfound = False
End If
wend
'start at the begining and grab everything up to the last "\"
filename = Mid(filepath,1,icount - 1) & "jacob.jpg"
filePath = filename
end function
%>
gsc1ugs
"Cant see wood for tree's...!"