Well you got an affordable model and they can give you the inexpensive parts. The processor is decent, but you really need more RAM to run Win 11.
I have 64GB. I doubt the number of photos on it are causing the issue nor is the stuff supplied by MS. The PC is doing just what the designed it to...