1. you mean on the client side? where is the database? as long as you have permissions, you can use ADODB.Recordset on the client side
2. I could be wrong, but as far as I know, it is not possible. The closest thing I know is to embed images in the html to be used by an ActiveX controls, see
1. where are you reading the images? Use "ADODB.Recordset". The syntax in Javascript is similar to that in VBScript
2. you have to understand how html works. You could encode the image in base64 and embed it in the html, but I don't think any current browsers are able to display it yet