KingsleyO's avatar

Uploaded images works on localhost but broken on live server

I do not know why this happened. I first pushed my project to github and then git cloned it into my server(digital ocean). On my local machine i have uploaded over 350 images, but after deployment they all seem corrupt. If i remove the corrupt image and upload another one, it works ok. What actually went wrong? Is there a fix to this or i have to re upload everything again.

0 likes
1 reply
prasadchinwal5's avatar

@kingsleyo do you see your images on the server? Also check user permissions on your server. chmod 777 to you storage directory might help.

Please or to participate in this conversation.