Phenomenon of the issue:

Using DDNS and accessing NAS through a domain name proxied by Cloudflare, creating a Photos shared link, and after sharing it with others, it displays blank when opened

Troubleshooting:

F12 to view error:

rocket-loader.min.js:1 refused to execute inline script because it violates the following content security policy directive: "script-src 'self' 'unsafe-eval' data: blob:

Problem Solving:

Disable the Rocket Loader acceleration inside Cloudflare to access normally