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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

detecting images in web pages

  • 19-07-2004 5: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 Posts: 41,240 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