Convention for storing blog images?
Unanswered
Common paper wasp posted this in #help-forum
Common paper waspOP
I tried scouring the docs for some best practices or convention but couldn't really find anything about this
Is there a convention or best practices for storing blog post images? I'd prefer to store each posts images in its own folder but I'm not sure if this is possible. I'm using Velite and have tried looking at other ways but I just keep finding a lot of general "store them in /public", "use an S3 bucket", or very old posts referencing next-images and idk if that's relevant anymore.
Just looking for some guidance in addition to continuing to Google for myself
Is there a convention or best practices for storing blog post images? I'd prefer to store each posts images in its own folder but I'm not sure if this is possible. I'm using Velite and have tried looking at other ways but I just keep finding a lot of general "store them in /public", "use an S3 bucket", or very old posts referencing next-images and idk if that's relevant anymore.
Just looking for some guidance in addition to continuing to Google for myself
8 Replies
Common paper waspOP
Nevermind, looks like Velite is already configured this way
Common paper waspOP
Kinda. It seems the way I have it, it just generates a new image and puts it in public
Not sure if there's a way to change that in Velite so it doesn't do that
I guess having one giant public/static/ folder isn't bad? Idk
Oh I can't remove my answer
Mugger Crocodile
you can use other service like firebase or pinata.
Common paper waspOP
Pinata?
Are all static assets in the folder served with the app? Or are they only served where they're called/used?