SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    Aug 2006
    Posts
    266
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    whether each image is big than 40 kilobyte

    There is an input element in my page.

    <input type="file">

    The user will select four image. Can I check with Javascript whether an image is big than 40 KB or not.
    Last edited by muazzez; Dec 27, 2006 at 14:39.

  2. #2
    SitePoint Wizard Pepejeria's Avatar
    Join Date
    Jan 2005
    Location
    Too far up north
    Posts
    1,566
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    See this thread. Note that this will only work in IE with ActiveX enabled.


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
  •