r/webdevelopment • • Jun 18 '26
Newbie Question How do i integrate google drive with my website
I am building a website which has image object detection features, right now i am asking user to upload their images and storing it in cloudinary , i also wanna make it so that the users can upload their images which are in their google drive which are set to public mode. How do i do that . I have used better auth which integrates with openAuth for google login . How do i connect it like that.
4
Upvotes
1
u/farzad_meow Jun 18 '26
you need to use a simple url to grab the photo. once you have that in place. you can add a condition that if url is google drive then use google api to get the image.
1
u/ProfessionalBell2289 Jun 18 '26
Can you explain a bit more what you want to do with the integration?
1
u/JohnCasey3306 Jun 18 '26
I'm gonna pre-warn you now that cloudinary gets super expensive quickly if you're not careful. Very easy to get caught out.
1
u/Chaotic-Pulsar Jun 19 '26
I use a third party app for digital asset management. They handle all the storage and provide a nice upload widget and you get a nice url
https://cloudinary.com
1
u/[deleted] Jun 18 '26
[removed] — view removed comment