Hello Manucol, welcome to the forums! Upgrading your gallery app shouldn't delete any of your media files. Have you already tried using a third party gallery app from the Play Store? QuickPic is one of the most popular. Also, have you used a file explorer to check if those photos are still in your storage?