Dropbox only dabbled in photos. Despite my desire to support Dropbox both because they pioneered the online synced folder and because they supported Linux I ended up paying Google because Google Photos came out of the gate way ahead of Dropbox’s languishing attempts at photo management/sharing and Google Photos has kept a strong pace.
For Dropbox? You install the official Linux client. For Google? There are third-party sync products and Gnome can mount it as a network drive but I didn’t mean to imply that I did; I don’t sync Google Drive with Linux.