Safe ways to recover space without losing your photos
Start at Settings, General, iPhone Storage. Wait for the storage breakdown to finish calculating.
Deleted photos normally remain in Recently Deleted for 30 days. Permanently deleting them removes the recovery option.
iPhone storage and iCloud storage are different. Turning on iCloud Photos does not instantly free local space.
If you use iCloud Photos, check Optimize iPhone Storage. Make sure syncing and backups are understood first.
Review long videos, large Messages attachments, offline movies, podcast downloads and Files app downloads.
Use iPhone Storage recommendations. Offloading an app can free the app file while keeping its documents and data.
Check your photo backup before permanently deleting anything. Do not reset your phone just to clear System Data.