Add error message in pictures controller