Appearance
Image prompt pack
Demo images show what a section could look like. Your site needs your images. The prompt pack gives you a ready AI prompt for every image slot in the template, so you can make replacements that fit the design: same role, framing, lighting and mood, at the exact size the layout expects.
What's in the pack
| File | For |
|---|---|
prompts/IMAGE-PROMPTS.md | Reading. One entry per image, grouped by section, with prompt, size and notes. |
prompts/image-prompts.json | Tools and scripts. The same data, machine-readable. |
The pack covers both local images (files in src/assets/) and Unsplash photos used by the code (listed by ID and the component that uses them).
Each entry looks like this:
json
{
"slot_key": "hero-main",
"file_path": "src/assets/gen/hero.jpg",
"width": 1920,
"height": 1080,
"aspect": "16:9",
"used_in": "Hero section background",
"variant": "default",
"prompt": "Wide photograph of a modern white two-storey villa with floor-to-ceiling windows and a long pool, late-afternoon sun, soft shadows, calm neutral palette, eye-level, architectural photography, no people",
"notes": "Keep the left third calm for the headline. Export WebP quality 80 at 1920 × 1080."
}| Field | Meaning |
|---|---|
slot_key | A short name for the slot |
file_path | The file to replace (or the Unsplash ID and component for remote photos) |
width, height, aspect | The exact export size and ratio |
used_in | The section and role: hero, card, avatar, background, product cut-out… |
variant | default, or a personalised version: own_face, own_product, own_place |
prompt | The text to give the image generator |
notes | Transparent background needed, safe area for overlaid text, export settings |
Choose the right variant
| Variant | Use it when | What you provide |
|---|---|---|
default | You want a polished generic image in the same style | Nothing, just the prompt |
own_face | Portraits, team photos, founder or coach shots | A clear photo of yourself (or a team member, with their consent) |
own_product | Product shots, packshots, menu items | A photo of your real product |
own_place | Venues, rooms, shops, properties | A photo of your real place |
Real photos beat generated ones for trust
For a real business, a good real photo of your team, product or place usually converts better than any generated image. Use the own_* variants to restyle real photos so they match the design, or use the prompts as a shot list for a photographer.
With ChatGPT (image generation)
- Open ChatGPT and start a new chat.
- For an
own_*variant, attach your photo first (the paperclip / + button). - Paste the prompt and add the size, for example: "… Landscape 16:9." (or "Square", "Portrait 4:5" to match
aspect). - Review the result. Ask for changes in plain words: "more empty space on the left", "warmer light", "remove the plant".
- Download the image. Then export it at the right size.
Example for an own_face slot:
text
Using the attached photo of me, create a professional portrait in this style:
head-and-shoulders, soft window light from the left, warm neutral background,
relaxed confident expression, shallow depth of field, editorial look.
Keep my face, hair and skin tone exactly as in the photo. Portrait 4:5.With Midjourney
Paste the prompt and add the aspect ratio parameter from the entry's
aspect:text/imagine Wide photograph of a modern white two-storey villa … no people --ar 16:9For
own_*variants, add your photo as an image reference: upload it in the web app and drag it into the prompt bar as a reference, or use Midjourney's reference parameters (for example Omni Reference--oref <image-url>in V7).Upscale the version you like, download it, and export it at the right size.
Other tools
The prompts are plain descriptions, so they also work in Google Gemini, Adobe Firefly, Ideogram, Leonardo, Flux and Stable Diffusion. Set the aspect ratio in the tool's own settings.
Cut-outs and transparent images
Entries whose notes say cut-out or transparent background (products floating over a coloured section, people cut out against a shape) must be PNG and WebP with transparency.
- Ask for "on a plain white background", then remove the background with a tool such as Photoshop, Photopea (free, in the browser), remove.bg, or Canva's background remover.
- Export as PNG (fallback) and WebP with transparency, same name.
- Leave a little empty space around the subject so it isn't cropped at the edges.
Export at the right size
The layout was designed around each image's size. Export at the exact width × height from the entry, as both files of the pair:
| File | Format | Settings |
|---|---|---|
name.webp | WebP | Quality 80 (keep transparency for cut-outs) |
name.jpg | JPEG | Quality around 80, for photos |
name.png | PNG | Only for cut-outs with a transparent background |
No-code: Squoosh
Open squoosh.app, drop your image in, set Resize to the exact width and height (crop first if the ratio differs), choose WebP, quality 80, and download. Repeat with MozJPEG (or OxiPNG for cut-outs) for the fallback.
Script: sharp
To process many images at once, use sharp in the project:
bash
npm install --save-dev sharpjs
import sharp from 'sharp'
// [source file, target path without extension, width, height, transparent?]
const jobs = [
['new/hero.png', 'src/assets/gen/hero', 1920, 1080, false],
['new/product.png', 'src/assets/gen/product', 1200, 1200, true],
]
for (const [src, out, w, h, transparent] of jobs) {
const base = sharp(src).resize(w, h, { fit: 'cover', position: 'centre' })
await base.clone().webp({ quality: 80 }).toFile(`${out}.webp`)
if (transparent) await base.clone().png({ palette: true, quality: 80 }).toFile(`${out}.png`)
else await base.clone().jpeg({ quality: 80, mozjpeg: true }).toFile(`${out}.jpg`)
console.log('✓', out)
}bash
node resize.mjsReplace the files in place
- Name your exported files exactly like the originals: same name, same extension, same lower/upper case (
hero.webpandhero.jpg, notHero.WEBP). - Copy them over the originals in
src/assets/…. - With
npm run devrunning, the page reloads with your images. Hard-refresh (Ctrl + Shift + R) if needed. - Check the section on desktop and mobile: the crop on narrow screens can differ, and text over the image must stay readable.
For Unsplash slots there is no file to overwrite: save your image into src/assets/ and point the photo map at it, as shown in Images → Use your own file instead.
Rules for generated images
- Don't generate images of real people other than yourself (or people who gave you permission), and don't present generated people as real customers or staff.
- Don't ask for brand logos, trademarks or copyrighted characters.
- Read your AI tool's terms for commercial use; most paid plans allow it.
- If a generated product photo shows something your real product doesn't do or look like, don't use it in advertising.