Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

detecting images in web pages

Options
  • 19-07-2004 6:33pm
    #1
    Closed Accounts Posts: 989 ✭✭✭


    I'm developing a piece of software that needs to detect images in web pages by going through the text. It already detects images that are displayed in the normal html manner of using the img tag. What I want to know is if there are any other ways of displaying images in web pages apart from using the img tag, and if so, what are they?



    Thanks


Comments

  • Registered Users Posts: 1,569 ✭✭✭maxheadroom


    Well, there's the CSS background-image property. Its generally used for presentational images (like site banners for instance) that don't need to have alternates for accesibility puropses.


  • Moderators, Politics Moderators Posts: 39,938 Mod ✭✭✭✭Seth Brundle


    there is also the HTML attribute background="" used with the body, table, tr & td tags and the form input object where type="image"
    can't think of others but there possibly are


  • Closed Accounts Posts: 989 ✭✭✭MrNuked


    Thanks!


  • Registered Users Posts: 1,569 ✭✭✭maxheadroom


    there's also the CSS pseudo classes :before and :after . Not supported by IE, but they can contain image data.


  • Registered Users Posts: 1,268 ✭✭✭hostyle


    And you can change images on the fly using javascript, vbscript or perlscript ... plus don't forget javascript based CSS (as opposed to text based CSS).


  • Advertisement
  • Closed Accounts Posts: 989 ✭✭✭MrNuked


    Thanks again for further info.

    Another way is graphical input controls on forms.

    And Applet and Object Tags could be used too.


Advertisement