Inserting signature bitmap file in an asp

Discussion in 'ASP General' started by Jack, Nov 10, 2005.

  1. Jack

    Jack Guest

    Hi
    I am trying to build a asp page where signature bitmap file needs to be
    inserted from a directory. The path of the file location is in one of the
    backend Access database fields. I would like to know if there is any
    knowledge based article related to this kind of issues. I have no idea where
    to start on this. Any help is appreciated. Thanks.
     
    Jack, Nov 10, 2005
    #1
    1. Advertising

  2. Jack

    Phill. W Guest

    "Jack" <> wrote in message
    news:...

    > I am trying to build a asp page where signature bitmap file needs to be
    > inserted from a directory.


    Bitmaps and "The Web" don't play well together.
    Use a different image format.

    > The path of the file location is in one of the backend Access
    > database fields.


    So you need to create an HTML IMG tag, pointing to the location
    specified by the database field, /something/ like

    Dim rs ' as RecordSet
    Set rs = FunctionThatRetrievesYourDataInARecordset()

    Response.Write "<img " _
    & "src='" & rs.Fields("imagepath").Value & "' " _
    & "class='SomeCssStyleName' " _
    & ">"

    rs.Close()

    HTH,
    Phill W.
     
    Phill. W, Nov 11, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. JJBW
    Replies:
    1
    Views:
    10,341
    Joerg Jooss
    Apr 24, 2004
  2. Gandalf

    Masked bitmap from bitmap

    Gandalf, Jan 29, 2004, in forum: Python
    Replies:
    0
    Views:
    603
    Gandalf
    Jan 29, 2004
  3. xqggz
    Replies:
    1
    Views:
    437
    Victor Bazarov
    Jun 19, 2007
  4. Gustavo Narea
    Replies:
    14
    Views:
    878
    Gustavo Narea
    Feb 16, 2009
  5. MoshiachNow

    convert a bitmap file into a jpg file ?

    MoshiachNow, May 3, 2007, in forum: Perl Misc
    Replies:
    2
    Views:
    96
    MoshiachNow
    May 3, 2007
Loading...

Share This Page