I am uncomfortable about students taking pictures of the blackboard, because I don't like appearing in them
Perhaps you could make an announcement that just before erasing the board, you will pause for a moment to allow pictures to be taken, while you stand out of the way so as not to obstruct the shot.  You can ask photographers to wait until that time, and to please compose their shots to exclude you if necessary.