LEDs are a good way to check things out, but you still have not explained what is connected to pin 4. Even if it is just a wire or a switch for the test, it needs a pullup or pulldown resistor.
What is currently connected?
What will be connected?
Do you want the shutter triggered when pin 4 goes HIGH or when pin 4 goes LOW?