Hi there,
I'm not entirely sure if you knew, but Template:Classimg exists. It basically applies the categories and licensing for you. Similar to Template:pid. Make sure to read the documentation on how to use it. I imagine this will make it easier to do these kinds of images.
GrampaSwood (talk) 17:07, 15 September 2020 (UTC)