
Recreating Wong Kar-wai's Film Aesthetic with Cloudinary
No Photoshop. No local image editing. Just CDN transforms that turn stock photos into moody Hong Kong cinema.

No Photoshop. No local image editing. Just CDN transforms that turn stock photos into moody Hong Kong cinema.

A common frontend gotcha: Lenis smooth scroll library and CSS scroll-snap are incompatible. Here’s why they fight and how to choose between them.
Lenis smooth scroll library is INCOMPATIBLE with CSS scroll-snap. They fight for scroll control.
Wedding invitation site had both Lenis (for smooth parallax scrolling) and CSS scroll-snap (for section-by-section navigation). Neither worked properly.
Librarian agent research: “CRITICAL: Lenis and CSS scroll-snap are INCOMPATIBLE - Lenis hijacks native scrolling” Solution: “Remove Lenis, use CSS scroll-snap + native smooth scroll for better mobile performance”
Lenis works by:
requestAnimationFrameCSS scroll-snap expects:
When combined:
Removed Lenis entirely:
// Before (Layout.astro)
import Lenis from 'lenis';
const lenis = new Lenis({ ... });
lenis.on('scroll', ScrollTrigger.update);
// After
// Just GSAP ScrollTrigger, no Lenis
gsap.registerPlugin(ScrollTrigger);
Added native smooth scroll:
Read moreApply Wong Kar-wai cinematic color grading to photos using Cloudinary transforms:
<CldImage
src="wedding/parallax/hk-skyline"
effects={[
{ colorize: '20,rgb:8B0000' }, // deep red overlay
{ saturation: -10 }, // desaturated
{ contrast: 15 } // higher contrast
]}
/>
Building a Korean wedding invitation with “Hong Kong Night” aesthetic inspired by Wong Kar-wai films (In the Mood for Love, Chungking Express). Needed to apply consistent film-like color grading to stock photos.
Worked perfectly. Different colorize values per layer created depth:
colorize: '20,rgb:8B0000' (heavy red)colorize: '15,rgb:2D4A3E' (moody green)colorize: '10,rgb:D2691E' (warm amber)// WKW color palette as Cloudinary effects
const wkwGrade = {
background: [{ colorize: '20,rgb:8B0000' }, { saturation: -10 }, { contrast: 15 }],
midground: [{ colorize: '15,rgb:2D4A3E' }, { saturation: 10 }, { contrast: 20 }],
foreground: [{ colorize: '10,rgb:D2691E' }, { saturation: 5 }, { contrast: 25 }],
};
“Recreating Wong Kar-wai’s Film Aesthetic with Cloudinary Transforms”
Read more