Wiring Light with Master Switch
Not from the picture.  Unfortuantely, the information had been there, but you destroyed it when you took all the wires apart without documenting what was there.  

Your best bet now is this:

1.

A cable is several wires in a sheath.  

Cap off the black and white wires from one cable (individually), and connect the lamp's black and white to the other cable.   If the light now works off one switch, and not the other, then you can go to the next step.  Otherwise switch cables.  

Now the light works, off one switch. 


2. 


Keep the white wire from the lamp with the white wire from the ceiling. These are neutral and they need to stay this way.  

The white wire in the ceiling that is capped off, mark it with black or colored electrical tape.  Uncap it.  

Unhook the lamp's black wire from the black ceiling wire.  Join this  black ceiling wire to the white wire you just marked.  This is switched-hot from the master switch (which may not be the one you think).  

Remains is one black wire that is capped off, and one black from the lamp.  Join them.