I have tried a few of the scripts out there but none seem to work with FP2k. Anyone know of a site that has, or do you personally have, a script that will work with front page?
If it was a problem for me, I would point the IMG SRC= to an ASP instead of an image with a URL string attached identifying the image plus an encrypted expiration date/time for asking for the image. I've done this for delivering Signature images from a bit an image stored temporarily in an Application variable. The ASP MUST use Response.ContentType = "image/gif" or "image/jpg" and RESPONSE.BINARYWRITE to write the image back. It can be difficult to debug because any error attempts to write the text of the error with a RESPONSE.WRITE which just causes the image not to appear.
Your problem is that there is no way to read a binary (image) file in VBScript because the FileSystemObject converts what it thinks is ASCII to Unicode. However, if you can put a VB6 component on your site, here is the answer.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.