Embed beautiful iCloud shared photo albums in your website
Paste your iCloud shared album URL to generate a shareable link and embed code:
Add this script to your HTML page:
Then use it in your code:
<button onclick="icloudAlbumModal('YOUR_ALBUM_TOKEN')">View Photos</button>
The modal script creates a full-screen overlay with an iframe that loads your album viewer. The album viewer fetches photos from iCloud and displays them in a beautiful, responsive interface.
Album Token: To get an album token, share an iCloud photo album and extract the token from the share URL. The token is the unique identifier in the URL.
Encrypted Tokens: Encrypted tokens start with e- and hide the original album token. The backend automatically decrypts them when used. Use the token encryption tool above to convert public tokens to private ones.
Privacy & Security: All images are proxied through the server with EXIF location data automatically stripped. Original iCloud URLs are never exposed to clients. Images are optimized for web display (resized and compressed) for faster loading.
Video Support: The viewer supports both photos and videos from iCloud shared albums. Videos can be automatically transcribed and converted to blog posts using AI.
Feed View: Albums can be viewed in a blog-style feed format at /feed/:token. This view is ideal for mixed photo/video albums, where videos are displayed as blog posts with automatic transcription and AI-generated content. Photos appear in a responsive grid interspersed with the video posts.
<button onclick="icloudAlbumModal('e-dc429eb14883381124c7697c5f08dca63e3cddba76503acfc102ceb301d582471113fa4b8e561a9e8fa2bf307e2c7992qShPYILQiYdqLvmj2QTtrVGQm+tczGyFqTpz2rIwQlg=')">
View Photos
</button>
<a href="#" onclick="icloudAlbumModal('e-dc429eb14883381124c7697c5f08dca63e3cddba76503acfc102ceb301d582471113fa4b8e561a9e8fa2bf307e2c7992qShPYILQiYdqLvmj2QTtrVGQm+tczGyFqTpz2rIwQlg='); return false;">
View Photos
</a>
<script>
// Open modal programmatically
icloudAlbumModal('e-dc429eb14883381124c7697c5f08dca63e3cddba76503acfc102ceb301d582471113fa4b8e561a9e8fa2bf307e2c7992qShPYILQiYdqLvmj2QTtrVGQm+tczGyFqTpz2rIwQlg=');
</script>
Access albums directly via URL (grid view):
View albums in a blog-style feed format (ideal for mixed photo/video albums with transcriptions):
Get album data as JSON (supports encrypted tokens with e- prefix):
Convert a public token to an encrypted private token:
Convert a public album token to an encrypted private token for added security: