Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Check to make sure image is either dimensions? Reply To: Check to make sure image is either dimensions?

#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) ) {