Question
I cannot upload new images in my website folder but i can still view the old images.
Hi,
I have my website set up at /var/www/html/public with the images being stored in the /var/www/html/public/images folder. I have run many chown and chmod permissions on this images folder as found online but none of the new images are being able to be viewed even though all permissions are already at 777 and the data owner is www-data.
I can view my old images just fine via domain.com/images/old-image.jpg but domain.com/images/new-image.jpg throws up a blank and when i reference it in my website that image simply does not occur.
This does seem to be a mysterious issue.
Using digitalocean with LAMP installed.
Using Filezilla to transfer my files.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×