The most important features I want for solution are :<p>- All the photos in the cloud should be encrypted and no one should have access to them.<p>- There should be an autosync feature for uploading photos from my device to cloud.<p>- The solution can involve setting up my own server if required.<p>- Privacy should be put as highest priority.
Cryptomator[1] + any cloud provider you like (Dropbox, GDrive etc)<p>[1] <a href="https://cryptomator.org/" rel="nofollow">https://cryptomator.org/</a>
similar discussion:<p><a href="https://news.ycombinator.com/item?id=18770366" rel="nofollow">https://news.ycombinator.com/item?id=18770366</a>