![]() Preserved Topic: Image size in "input type=file" (Page 1 of 1) |
|
---|---|
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
![]() IS it possible to know the size of an image in an <input type=file name=img1 size=30>? |
Paranoid (IV) Inmate From: Sthlm, Sweden |
![]() As in size, do you mean dimensions (height and width) or do you mean filesize? |
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
![]() Cool! |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() No, I'm pretty sure you can't get any information about the file from Javascript. |
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
![]() Period. |
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
![]() The poster has demanded we remove all his contributions, less he takes legal action. |
Paranoid (IV) Inmate From: Sthlm, Sweden |
![]() Woops... I guess you can after all code: function imagesCheck(){
|
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() Wow, interesting. Generally you can't do much with the <input> element with javascript, since it opens the user's computer up to security risks. |
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
![]() I got to this: code: function verfoto() {
code: <INPUT id=archivo type=file onchange=verfoto() size=65 name=archivo>
|
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
![]() The poster has demanded we remove all his contributions, less he takes legal action. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
![]() The poster has demanded we remove all his contributions, less he takes legal action. |
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
![]() I was making exactly that: code: function verfoto() {
|
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
![]() The poster has demanded we remove all his contributions, less he takes legal action. |
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
![]() I have Opera 5.12 and Mozilla 1.01 (.01? I don't want to open it again please!) and does not work neither in Mozilla nor Opera.... |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
![]() The poster has demanded we remove all his contributions, less he takes legal action. |
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
![]() When I made the test, I made it with a valid mage.... |