See drawings in http://www.totousa.com/Portals/0/Pro...964214CEFG.pdf
I put red dots to proximate your pipes.
In a pinch you can use the 10 inch Unifit adapter to make the toilet 2 inches farther from the wall than it would be with the included 12 inch adapter. However the pipe in you photo could be problem with 12. It looks close. Maybe you want to measure that 12 inches more carefully to see if it is 12.2 or 11.8 inches.
Your supply pipe in the floor at 6 inches from the centerline looks like a problem too.