Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

detecting images in web pages

  • 19-07-2004 06: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, Registered Users 2 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, Paid Member Posts: 44,026 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, Registered Users 2 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, Registered Users 2 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