Photos API
I’m trying to build a website for my dog. The plan is not very complicated. I’d like to just have a masonry layout of photos of him, and when you click one, a lightbox opens. I’d like to set it up so I can store the photos somewhere so I can hook into a REST api, and call that. I can just upload new photos and then the site updates on it’s own.
I’m surprised at how difficult of a time I’m having just finding a spot where I can upload photos and then access them via a REST call without jumping through a bunch of hoops. There is a very real chance that I’m simply not getting something but it feels like I am consistently running into permissions errors regardless of which cloud I’m sticking these photos in.
I was trying to make this as lightweight as possible but now I’m thinking I’ll just spin up a WordPress instance and then either build a template directly on top of that or, if I’m feeling spicy, decouple the build and put together a separate front end instance. New photo goes into the WordPress library, and then using the WP REST API, the front end updates automatically.
The outcome will all be the same. Just surprised by the wall I’m hitting on permissions. I’m probably just missing something. Either way, there will be photos of the pup. I’ll put one here since you made it this far.