robertmylne's avatar

Laravel Image Upload

What folder am I suppose to upload the images to for local storage? It will be images for blog posts.

public/ resources/ storage/

0 likes
3 replies
Drfraker's avatar

Only put them in public folder if you want them to be available to the public facing web. If they need to be secure you need to put them in a different folder. I would suggest storage/uploads/ or something similar. That way they won't be available by anyone who visits your site.

Drfraker's avatar
Level 28

@SachinAgarwal Yes you are correct. I re-read it and he says it is for blog post images. If the case is that they are not privacy sensitive I would just put them in public/uploads/path/to/image ...

1 like

Please or to participate in this conversation.