Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $output = "<input class="wpisNazwyWkladow"
- id="wpis_tabela_zdjecie_wybieracz" type="file" multiple
- name="ads_photofile">";
- var input = $(this); // works
- var ilosc = input[0].files.length;
- var pliki = input[0].files;
- for (var i = 0; i < ilosc; i++)
- {
- var tmppath = URL.createObjectURL(pliki[i]); // works - displays
- var nazwa = pliki[i].name; // works
- var tempRozmiar = pliki[i].size; // works
- var typ = pliki[i].type; // typ fotki // works
- // The part that does not work:
- tempWysokosc = tmppath.height;
- tempSzerokosc = tmppath.width;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement