How about, instead, getting the consent forms signed BEFORE the picture is taken, and then anyone who doesn’t sign it, doesn’t get in the picture?
Even better.
I teach 3rd grade in Texas and that is exactly what we do. Inevitably, the parents who refused to sign the consent form almost always whine about how their kids were not “allowed” to be in the class picture .