After deleting photos from my phone via computer, there are still empty placeholders in my gallery
You can try rebuild the media library. Go to Apps in Settings, make it show system apps and locate the app Media Storage, force stop it and clear its data (not cache), then reboot and wait for 15~20 minutes for a full rescan/rebuild.