Fixing logic on photo sized function