Added constraints for picture files.