Refresh | Register | Logon
Welcome:  Guest
Archive 01.08.2004-08.02.2008::How call second image from ad::Search Forums
 Posted by: websano  Messages 
Version: 3.1
Database: MySQL

I need call the second image from ads

I upload two images to ads but need call the second image to tophotlist.asp

What I change here?

-----------------------------------------------------------

adImgArray = rs(7)
If not adImgArray = Empty then
firstImg = Split(adImgArray, sf)(0)
firstImgName = Split(firstImg, "|")(0)
imgDim = Split(firstImg, "|")(1)
w = Split(imgDim, "x")(0)
h = Split(imgDim, "x")(1)
If h > 220 then
koef = h / w
h = 220
w = Round(220 / koef)
Else
If w > 220 then
koef = w / h
w = 220
h = Round(220 / koef)
End If
End If
imgData = "<a href='noticia.asp?id=" & adID & "'><img border='0' align='absbottom' src='" & upload & firstImgName & "'>"
Else: imgData = "<img border='0' align='absbottom' src='img/nopics.gif'></a>"
End If
------------------------------------------------------------------------

 Posted On: 3/26/2007 9:56:31 PM   Direct Link   
 Thread: Posted by: Posted On:
  How call second image from ad
websano 3/26/2007 9:56:31 PM
admin 3/27/2007 1:09:52 AM