It's often helpful to tell us what the error is. Luckily, in this post,
it's easy enough to guess that the error probably mentions something about
an expected end of statement.
The problem is that you're trying to put " characters in a string, that is
begun and ended with the " character (width and height attributes). So, how
is the server supposed to know when a " means that you want to write a " and
when a " means that it's the beginning or end of the argument you're passing
to response.write?
The way to "escape" the " character when using VBScript is by doubling it
up.
Response.Write "<a href='" & imageFilePath & strPicArray(0,x) & "'><img
src='" & thumbFilePath & strPicArray(0,x) & "'width=""75""
height=""75""></a>"
Also, I suggest you not use ' for your attribute values. That's just the
lazy way out that people like to use. I suggest one of these two lines:
1.
<%
Response.Write "<a href=""" & imageFilePath & strPicArray(0,x) & """><img
src=""" & thumbFilePath & strPicArray(0,x) & """ width=""75""
height=""75""></a>"
%>
2.
%>
<a href="<%=imageFilePath & strPicArray(0,x)%>"><img src="<%=thumbFilePath &
strPicArray(0,x)%>" width="75" height="75" /></a>
Ray at work