Please tell us some basic information before asking for help:
Model Name: Zenfone 9
Firmware Version: WW_32.2004.2004.84
Rooted or not: No
APP Name & APP Version (If your issue relates to the app): Default Camera app (9.3.5.0_220720)
In addition to information above, please also provide as much details as you can, e.g., using scenario, what troubleshooting you've already done, screenshot, etc.
========================================
I've used Google phones for the last 7-8 years and use Google Photos on all my devices. Zenfone 9 has a Gallery app that I've deactivated and instead use Google Photos here as well, so I have access to all my photos and videos from the past as well.
The camera app on Zenfone 9 has a "latest picture" button (see screenshot) that will only open the Gallery app, so it prompts me to activate the Gallery app.
Isn't there a way to set Google Photos as my dedicated photo/gallery app somewhere, so pressing this will instead open Google Photos?