An ophthalmologic photographic device has control means for setting a fixed gain at the time of alignment and at the time of still image taking and switching to AGC when switching to moving image taking, wherein the start gain is determined and set, on the basis of the AGC gain immediate before a shift from moving image taking to alignment or still image taking and the value of the fixed gain during still image taking, by setting means for setting the gain at the time of starting AGC.