Home › Forums › Back End › Check to make sure image is either dimensions? › Reply To: Check to make sure image is either dimensions?
June 6, 2016 at 7:14 am
#242557
Beverleyh
Participant
Untested but it might work if you change
if($check !== false) {
to
if ( ($check !== false) && ($check[0] == 1920 && $check[1] == 1080) || ($check[0] == 1280 && $check[1] == 720) ) {