static methods fixes
added check on square photos