fix & scale photos