SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Jul 2003
    Location
    Domnican Republic.
    Posts
    51
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Browse Imagen Button

    Hi i want to know how i make a browse button wich only allows image files, i have this:
    <input type="file" name="file">
    and i try putting accept="image/jpeg"
    but still doesn't work it shows me all files.
    i hope someone can help me
    Thanks

  2. #2
    gingham dress, army boots... silver trophy redux's Avatar
    Join Date
    Apr 2002
    Location
    Salford / Manchester / UK
    Posts
    4,838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    looking at http://www.w3.org/TR/html401/interac...ml#adef-accept it says that user agents "may" use the information you provide in accept to filter out what they show you...my guess is that no user agent really does at this stage...
    re·dux (adj.): brought back; returned. used postpositively
    [latin : re-, re- + dux, leader; see duke.]
    WaSP Accessibility Task Force Member
    splintered.co.uk | photographia.co.uk | redux.deviantart.com


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •