Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 VP-ASP 7.0 Questions
 Image
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

freexel
Starting Member

Netherlands
6 Posts

Posted - April 07 2010 :  08:01:01  Show Profile  Reply with Quote
I have 30.000 products in my DB.
All the products cite to an product image, but I don't have all the pictures so I get a lot of 404 errors.

I found this script on the internet:
Function CheckImg(url)
Set objXML = Server.CreateObject("Microsoft.XMLHTTP")
objXML.open "GET", url, False
objXML.send
If objXML.status=404 Then
Response.Write("image not found")
Else
Response.Write("<img src=" & url & ">")
End If
Set objXML = Nothing
End Function
Call CheckImg("http://www.google.com/intl/en/images/logo.gif") 


Can I intergrate this script into shopimageswatches.asp (7.0)? And how can I do that?




Edited by - freexel on April 27 2010 03:24:46
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00