Tell your AI tool
“Optimize all images on my site for fast loading. Use modern formats like WebP, make sure images are the right size for where they appear, and add descriptions for accessibility.”
Free AI prompt · The Code Book
A ready-to-use prompt from the chapter Images & Media. Paste it into Claude, ChatGPT, Lovable, Bolt or any AI coding tool.
“Embed a YouTube video on my page that is responsive (fits any screen size) and doesn't slow down the page load.”
“Optimize all images on my site for fast loading. Use modern formats like WebP, make sure images are the right size for where they appear, and add descriptions for accessibility.”
“Set up automatic image optimization on my site. I want images to load fast, use modern formats, and show a blurry preview while loading.”
“Make all my blog thumbnail images use a 16:9 aspect ratio and keep them consistent across the site.”
“Audit all the images on my site. Check that they are compressed, using modern formats, have descriptions for accessibility, and aren't larger than they need to be.”
“I want a full-width hero section with a background photo and white text on top. Make sure the text is readable.”
“Set up a new Next.js project with TypeScript, Tailwind CSS, and App Router. Create a clean homepage with a [header/hero/features] layout.”