A. Check if the images and favorites are stored in a cloud service linked to the app. If so, log into that service and see if you can recover them from there.
B. If you have a backup of your device, restore it to recover lost images. Go to Settings > System > Backup > Restore to see if you can retrieve your data.