The production of photons in the lead-scintilator calorimeter placed in the forward direction of protons is studied in the h1 experiment at HERA.