atv 2 wont load pictures - restarts

I just jailbroke my new atv 2 and installed atv flash on it and it works fine except when I want to look at pictures on my nas. The atv starts to load the pictures but then it freezes for som time and then it restarts?