This page will give you the solution to the 3×3 portrait puzzle as you can find in The 7th Guest. The solution given will put every square in the right position, one by one. It will not be the quickest solution but it will definitely solve the puzzle.
Please give the order from left to right from top to bottom separated by comma’s. R = Red, G = Green, N = Normal.
The solution given here shows the tiles with numbers. 1 is upper left, 9 is lower right.
This is really cool, thanks for helping me out! To shorten the solution: Sort the output, and any time you have precisely three identical lines of text in a row, remove them (because clicking the same tile three times returns it to its original state).