How can I insert an image from database on webpage in html?

Discussion in 'HTML & Website Design' started by webkulsubmission, Feb 8, 2011.

  1. #1
    I am facing a problem to insert an image from database,webpage not find the link,, please help me out...

    fbdeveloper@webkul.com
     
    webkulsubmission, Feb 8, 2011 IP
  2. godloves

    godloves Peon

    Messages:
    48
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    This is simple yaar, Use href tag to insert an image.
     
    godloves, Feb 8, 2011 IP
  3. rswebs

    rswebs Peon

    Messages:
    23
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    <img src="sample.jpg">
     
    rswebs, Feb 8, 2011 IP
  4. ivounnerry

    ivounnerry Member

    Messages:
    252
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #4
    <a href=" "> //the destination of ur image
    <img src="picturefile"></a>

    if u just want the image to show without the link, dont use href. :)
     
    ivounnerry, Feb 8, 2011 IP
  5. indianartist

    indianartist Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    databases does not support image files, and you cannot create a database connection in html.
     
    indianartist, Feb 8, 2011 IP
  6. ayekaye01

    ayekaye01 Peon

    Messages:
    214
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    <a href=" imagefilename.jpg"> <img src="imagesource.jpg"></a>
     
    ayekaye01, Feb 10, 2011 IP
  7. chanif.alfath

    chanif.alfath Active Member

    Messages:
    148
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    88
    #7
    in my opinion,
    if you want use database to show the image,
    you must use dynamic web programming like php, or asp.

    but it doesn't mean you save your images in database,
    you just make a link in your database, that connect to folder images.

    regards,
    chanif.alfath
     
    chanif.alfath, Feb 10, 2011 IP