Hardcoded the scale factor to 2 for the time being on the photo scaling due to problems it is causing when calculating what scale factor it should potentially use given the photo resolution. Will come back to this to refactor later on.