Can any tell me how to pull an image fron a db, i have a field called photo_file_path but when i call that all i get is the text path form the database displayed
stick the path in an image tag and as long as the image is where the path says it is then thats all you need...........
you need to use activex like aspupload
OK, so you have the text path.<BR><BR>Response.Write it into an <img> tag.<BR><BR><img src="<%=imagepath%>">
yes i sussed it out, the only proble is, is that i have null feilds in the database<BR><BR>can i run some sort of if then statment<BR><BR>thanks for your time
Sure:<BR><BR>imgpath=objRS("imgpath")<BR>If IsNull(imgpath) Then<BR>imgpath="/path/to/space.gif" 'or no image available.gif<BR>End If<BR><BR><img src="<%=imgpath%>">