I am displaying our newspaper classified listings online using ASP and Access. I am importing an XML file that is run on a daily basis that pulls all of the ads.
I got the ads to display just fine but I'm not sure how to get the images to appear. I have them in a field called IMAGE1 with a URL for the image which is stored in a folder on our server. There is another field called image1Typ that contains the type of image it is: LOGO, GRAPHIC OR PHOTO.
Basically I want the image to display if there is one for the ad. If it is a logo I want it to be on the top of the ad. If it's a photo or graphic it will be to the left of the ad.
I'm not sure how to code this. I figure that I need an if statement -- if there is an image display it; if it's a logo put it here, if it's a graphic or photo put it here. I have no idea how to code this so any help would be appreciated.