How can I encrypt a picture folder on my website that can display pictures to visitors to my website, but the folder is encrypted inside the server?

My operating system is Ubuntu and the webserver is lighttpd. I have an image hosting site. Images uploaded by users on my site are stored in / var / www / html / site1 / uploads, I want to encrypt that uploads So, if someone hacks my site or gets access to my server, they can not delete or see the content uploads Folder, but I want the images to be visible when a visitor visits the link of an image. For example http://example.com/uploads/any-uploaded-image.jpg shows the picture. Even also shows the picture.
How can I do that?