Newbie: How to close a circuit to cause photo flash to fire

The optoisolator is like a switch. It does not output power.