1) Fix syntax error; 2) Prevent anamition when only 1 picture.