I usually upload photos that are 1000 x 1000 pixels, as the space allotted in the gallery is square, and don't get the flag on those, so my guess is "optimum" = square. If you upload a rectangular image, you haven't "filled all the available space" as it were. Some items will never suit a square image, though.