2 pictures.
1) Considering that a frame is rectangular as well as each picture. We're dealing with the area of a rectangle and proportionality.
2) If I fill 1/4 and the whole frame holds 8, then I can state that:
Therefore I put into the frame 2 pictures because 2 pictures are equivalent to 1/4 of the area of that frame.