My problem is that I want to determine what size minimum and maximum should be the images that will be entered into my web system, both length and height (width and height).
Here is my file-type input
<input type="file" name="file-1[]" id="file-1" class="inputfile inputfile-1" data-multiple-caption="{count} files selected" multiple />
Here is my getting the element file-1 []
var img = document.getElementById('file-1');
var width = img.offsetWidth;
var height = img.clientHeight;
alert(width);
As you can see, I have an alert that results in the following: