- Home
- Skills
- Workflow Automation
- Website Photos & Video: Sizes, Galleries, Lazy Video
Works with the AI Agents you already use
Website Photos & Video: Sizes, Galleries, Lazy Video
Automated media optimization pipeline for high-performance web galleries, responsive images, and lazy-loaded video.
Free
Website Photos & Video: Sizes, Galleries, Lazy Video
Example session with this skill installed
Here are 11 photos and a video from our recent events (all straight from WhatsApp). Put them on the site in the best places without making it slow on phones.
- Read your context and instructions
- Compiled the website photos
11 photos and 1 video, ready for the site (example)
Photos (two widths each, WebP, never upscaled):
| Photo | Used for | 1600 px | 800 px |
|---|---|---|---|
| Food parcels outside the hall | Hero slide 1 + phone crop (4:5) | 117 KB | 40 KB |
| Library opening (banner visible) | Events gallery | 133 KB | 56 KB |
| Toy day (date stamp cropped off) | Hero slide 3 | 139 KB | 42 KB |
| Two near-duplicate handovers | kept the sharper one | 68 KB | 27 KB |
Left out: a close-up of a child receiving fruit (privacy).
Video: 18.5 MB, 82 s phone clip →
9.3 MB at the same 848×478 size (H.264 about 850 kbps, AAC 96 kbps, fast start). The page shows only a poster and a play button with "1 min 22 s"; the video downloads when play is pressed, and focus moves to it so keyboard users keep their place. Its opening title card reads "Fun Walk 2026", so that's now the event name.
Gallery: the first three items, then "Show 1 more photo"; a full-screen viewer with a counter, arrows, swipe and Escape.
Next: tell me the event dates you know, and send the remaining event's photos.
Connects securely to your tools. The creator never sees your data.
About this skill
Websites slow down when owners upload raw smartphone media. This skill provides a systematic pipeline for optimizing high-resolution photos and videos into performant web assets without losing visual quality.
What it does
- Multi-size generation produces optimized
.webpvariants at 1600px and 800px widths to ensure fast loading on mobile devices. - Smart cropping handles portrait-orientation hero images for mobile by centering on subjects and removes unsightly camera date stamps or watermarks.
- Video compression re-encodes MP4s to manageable bitrates (approx. 850 kbps) and generates high-quality poster frames to prevent layout shift.
- Lazy loading orchestration implements a "load on play" strategy for videos and deferred loading for images below the fold to save user bandwidth.
- Interactive galleries builds accessible slideshows, "Show More" expansion logic, and
<dialog>-based lightboxes with keyboard navigation.
How it works
- File analysis runs
sipsoridentifyto inspect dimensions, metadata, and visual content like logos or faces. - Asset processing executes shell and Swift scripts to batch convert images to WebP and re-encode video at target bitrates.
- Component integration writes HTML/CSS for responsive galleries, ensuring hero images use
<source>tags for art direction. - Cleanup identifies and removes orphaned media files that are no longer referenced in the site content.
Frameworks & tools
The pipeline utilizes sips, imagemagick (identify), ffmpeg, and a custom Swift-based encoder. Frontend output relies on semantic HTML5, native <dialog> elements, and vanilla JavaScript for focus management and lazy loading.
Why this beats prompting it yourself
Standard LLMs often suggest heavy libraries or generic compression that ruins visual clarity. This skill enforces specific bitrate targets and complex accessibility patterns, like focus management in lightboxes, that manual prompts frequently overlook.
Use cases
- Optimizing 3MB WhatsApp photos for a fast-loading event gallery.
- Creating a mobile-first hero section with art-directed portrait crops.
- Embedding video testimonials that don't destroy Lighthouse performance scores.
- Managing large portfolios with "Show More" pagination and full-screen viewers.
Known limitations
Requires macOS for sips and swiftc components. Video re-encoding requires ffmpeg for non-macOS environments.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 5 days ago
- Free with an Agensi account
Nothing to install. It runs in your AI agent.
- Optional
- macOSorImageMagickFFmpeg
Permissions
What's inside
Frequently Asked Questions
New in Workflow Automation
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Workflow Automation.