Practical guide · 6 min

How to compare a room before and after an AI furniture preview

A before and after slider can make a proposed room easier to discuss. It becomes useful for decisions only when the ‘before’ is authentic, the ‘after’ is clearly a proposal and every product change is tracked separately from the image.

01

Keep one untouched before image

Save the original room photo with an ID. Use the same crop and viewpoint for the proposed after image. If the image tool changes walls, windows or floor geometry, do not let the slider hide that change; correct the proposal or describe the difference.

Label the after image as a visual concept. A convincing side-by-side view still cannot verify dimensions or safe clearances without measurements.

02

Connect visible items to a product list

Give every proposed product an ID, a source photo or listing, the selected variant and measured dimensions. A hotspot can point to that record, but it should not pretend to identify the exact pixels of an item unless you have mapped its actual area.

Include a written product list alongside interactive markers so readers can find the same information with a keyboard or screen reader.

03

Version the plan and the image separately

Suppose you replace chair A with chair B. The plan changes immediately, but the old after image still shows chair A. Save a new plan version and mark the image as outdated until you generate a new one. Never show the new product marker as though the existing image has already changed.

A static HTML page can display the two images, move a slider, update product records and export a version history. It cannot regenerate a photorealistic room image on its own. That needs a separate image tool or a secure backend with an image API.

  • Before image ID and unchanged original
  • After image ID and the plan version it depicts
  • Product IDs, sources and dimensions
  • A visible warning when the plan is newer than the image
04

Check the comparison on the devices people use

Test the slider with mouse, touch and keyboard. Check that images share an aspect ratio, markers remain aligned on a narrow screen and labels remain readable. If the after image does not yet exist, show an empty state instead of a false comparison.

Space Preview includes a prompt for requesting an accessible HTML comparator and a separate prompt for editing a versioned proposal. You still need the relevant AI and file-creation capabilities to produce the assets.

Hostpartner Space Preview

Follow the process with five complete prompts.

Two PDF guides, one in English and one in Spanish. Listed price: €4.99. The prompts guide your tool; they do not include finished images or certify dimensions.

See the product and buy ↗

Frequently asked questions

Can a before and after HTML slider edit furniture in the photo?

No. It compares existing images and can update product records. A new photo requires an image tool or a configured backend.

Why save versions?

A version record shows which products and measurements a particular image represents and when the plan changed.

What if I only have the original photo?

Document the planned changes and leave the after state empty until a real proposed image exists.

This policy explains the cookies and similar browser-storage technologies used on the Hostpartner website.