Onebite.dev

Developer tips & trick, one bite at a time

Manage media/image in forestry with cloudinary

One of the shortage of using static site like Hugo compare to giant CMS like Wordpress is managing image is not that easy. Normally, you have to add it to your local folder and give a reference to your relative path.

But storing it in our own local file is not scalable and make our hosting heavier. That’s why i’m looking for a hosting asset solution, and luckily i found cloudinary , it comes with a generous offer if you just getting started.

How to use cloudinary with Forestry

I mentioned on my other post, that i use forestry now as CMS. Good news is forestry offers an easy integration with cloudinary.

Go to your setting > Media:

Start upload

When you’re done with the settings, now you can start uploading your media from the Site > Media. You don’t have to go to cloudinary website anymore to do this. Everything will be done in forestry.

+1 for Forestry, when put a type image in your front matter, it gives nice UI, to choose your image from media, as same as when editing content




This is a post in the Hugo website to the next level series.



🏊🏾‍♀️ Back Home