By stanwinsiow
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.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @stanwinsiow,
When you make other changes does your website reflect them?
It sounds to me like you are updating a website that’s not loading from the proper place. Make sure to check the DNS of your domain and see the A record.
Kind regards, Kalin
Hi @stanwinsiow,
I’m glad to hear you managed to find a solution to the problem.
Regarding your question, the only thing you can do to track changes is using git/gitlab/svn. Personally, I’ll recommend git as git comes with your droplet (if I’m not mistaken!). Here is an article which you can further read on - Article
Regards, Kalin
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.