Where are the schematics?
If you are using a 555, you could use the output of the photo detector to hold the reset pin of the 555 low when light is present and high when light is not present... A transistor could work as an inverter.
Whas this what you were asking?
.. but if ur not interested with that u can do it with a comparator and 555(as blinker)