Image Zoom Viewer Design Prompt

Use this image zoom viewer design prompt to open a high-resolution image view with zoom, pan, captions and a clear exit.

Content to Prepare
Prepare high-resolution images, captions, zoom limits and the gallery position to restore on close. Define keyboard and touch controls.
Design Focus
Preserve keyboard controls and avoid cropping the only available context.
AI-generated visual concept for image zoom viewer
Image Zoom Viewer
AI-generated visual concept for image zoom viewer

Use the Prompt

Prompt
Add Your Brief

Add your context below. It will be included with the prompt when you copy or download.

Create an HTML/CSS/JavaScript interaction study with explicit start, active and completed states and a readable prefers-reduced-motion fallback for [PROJECT] and [AUDIENCE]. The task is: Image Zoom Viewer.

Required content and structure

Open a high-resolution image view with zoom, pan, captions and a clear exit.

Use [APPROVED_CONTENT] as the source of names, dates, figures, claims and destinations. List missing inputs before substituting anything. If a demonstration is needed, label its content as fictional. Do not invent customer quotes, rankings, partner logos or product capabilities.

Design direction

Use [BRAND_RULES] and the design system already selected in the project. If no system is supplied, start with this direction: white, charcoal and vivid green highlights; clearly labeled start, transition and end states. Keep type, spacing and color roles consistent. Prioritize the task over decorative elements and avoid a generic collection of unrelated cards.

Content preparation

Prepare high-resolution images, captions, zoom limits and the gallery position to restore on close. Define keyboard and touch controls.

Layout and behavior

Keep the image central while preserving caption context and a clear exit. Show the difference between fit-to-view and zoomed inspection without cropping away the only available context.

Task-specific acceptance check

  • Preserve keyboard controls and avoid cropping the only available context.
  • Open, zoom, pan and close with both keyboard and touch.
  • Restore focus and gallery position, and handle images that do not have a higher-resolution version.

Implementation and review

Keep text editable. Use semantic structure, descriptive controls, visible keyboard focus and appropriate empty/error states. Check narrow and wide layouts. Respect reduced-motion preferences. Preserve any existing project framework and dependencies; do not silently replace the stack. Return the editable files and explain any incomplete behavior or unsupported inputs. Review this specific task before proposing extra features.

Make the complete information and action available without animation. Provide pause or dismissal where relevant. Document triggers and transitions; do not replace actual progress with a decorative timer.

Reference attachment and reconstruction goal

Attach reference.webp from this prompt’s download bundle alongside this prompt in OpenDesign. Build an editable result with a similar composition and hierarchy; do not embed the whole reference image as the finished interface. Preserve approved project content and brand rules if they conflict with fictional sample labels. If the image is missing or unreadable, ask for it instead of claiming visual fidelity.

Reference composition and content

Use the attached reference.webp as the visual reference for Image Zoom Viewer. Before building, identify the major regions from top to bottom, their relative widths and heights, alignment, spacing, typography hierarchy, surface colors, borders, imagery and repeated components. Preserve those relationships rather than substituting a generic template. Required task content: Open a high-resolution image view with zoom, pan, captions and a clear exit. Use the following task-specific layout guidance when translating the image into editable elements: Keep the image central while preserving caption context and a clear exit. Show the difference between fit-to-view and zoomed inspection without cropping away the only available context.

Visual direction from the example brief

white, charcoal and vivid green highlights; clearly labeled start, transition and end states.

Interaction specification

The reference is a static concept: the behavior below is a requirement to implement, not proof that the picture already works. Copy the customized prompt into your working project. Start with the core task: Open a high-resolution image view with zoom, pan, captions and a clear exit. Preserve keyboard controls and avoid cropping the only available context. For each visible control, specify its trigger, affected state and feedback; implement local changes with consistent state across related views. Give search and filters real results, selection controls an explicit active state, and save actions visible pending/success/failure feedback where relevant. Do not add unrelated workflows. Use proper links for navigation, buttons for actions and accessible names for icon controls. Do not imply a backend operation succeeded when only a local demo changed.

Visual comparison and delivery

  1. Compare the result with the attached image at matching proportions. Review major region placement, relative image sizes, line breaks, spacing, typography hierarchy, contrast, active states and content density before polishing decorative details.
  2. Then test the narrow layout without squeezing desktop text into tiny labels.
  3. Keep logos, photos and icons as separate assets and all meaningful labels editable. List any unavailable fonts/assets and any intentional departures. Return the working files plus a concise account of implemented behavior and remaining integrations; do not promise a pixel-identical result from the prompt alone.

Download Prompt + Image

Includes the complete prompt and full-size reference image. Attach both in OpenDesign to guide the layout.

Download Files

How to Write an Image Zoom Viewer Design Prompt

Use this image zoom viewer design prompt to open a high-resolution image view with zoom, pan, captions and a clear exit.

The reference is an AI-generated concept. The instructions below describe what to build and test; the image does not demonstrate working behavior.

Separate Opening, Zooming and Leaving the Image

An image viewer has several distinct actions.

AI-generated visual concept for image zoom viewer
Image Zoom Viewer — compare the overall hierarchy with the layout instructions below.

Opening a large image should not immediately trap the user in an enlarged crop without a visible way to return. Keep the image central while preserving caption context and a clear exit. Show the difference between fit-to-view and zoomed inspection without cropping away the only available context.

From the Prompt

Keep the image central while preserving caption context and a clear exit.

Make It Your Own

Open [HIGH_RES_IMAGE] in a fit-to-view state with caption and close control. Define zoom steps, pan limits, Escape behavior and focus restoration to the original thumbnail.

Prepare the Image Zoom Viewer Content

The central viewer keeps a caption and zoom controls around the photograph. Specify zoom limits, fit behavior and panning without distorting the image.

Image viewer with caption and zoom toolbar in the Image Zoom Viewer reference
Image viewer with caption and zoom toolbar.

Prepare high-resolution images, captions, zoom limits and the gallery position to restore on close. Define keyboard and touch controls.

From the Prompt

Open a high-resolution image view with zoom, pan, captions and a clear exit.

Make It Your Own

For [PROJECT], use [APPROVED_CONTENT] as the source for this image zoom viewer. Prepare high-resolution images, captions, zoom limits and the gallery position to restore on close. Define keyboard and touch controls. Identify missing inputs before replacing them with demonstration content.

Test the Edge of the Image

The right panel pairs a return action with keyboard controls for zoom, pan, fit and close. Test those commands and focus restoration; the screenshot lists intended behavior, not completed functionality.

Return to gallery and keyboard controls in the Image Zoom Viewer reference
Return to gallery and keyboard controls.

Zoom in, pan to a corner and reset. The user should recover the complete image and leave the viewer without losing their original page position. Open, zoom, pan and close with both keyboard and touch. Restore focus and gallery position, and handle images that do not have a higher-resolution version.

From the Prompt

Preserve keyboard controls and avoid cropping the only available context.

Make It Your Own

Review the image zoom viewer against this requirement: Preserve keyboard controls and avoid cropping the only available context. Open, zoom, pan and close with both keyboard and touch. Restore focus and gallery position, and handle images that do not have a higher-resolution version. Preserve approved content and revise only the parts that fail this check.

Review Your Image Zoom Viewer Result

The preview is a static storyboard. It does not demonstrate working animation, measured performance or accessibility. Test the implemented interaction and reduced-motion path.

  • Open, zoom, pan and close with both keyboard and touch. Restore focus and gallery position, and handle images that do not have a higher-resolution version.

Follow-Up Prompt

Use this after the first result. It narrows the revision to the most important part of this task.

Refine the current image zoom viewer. Open, zoom, pan and close with both keyboard and touch. Restore focus and gallery position, and handle images that do not have a higher-resolution version. Preserve the approved content and visual direction; change only the parts needed to resolve these issues.

OpenDesign

Turn Your Prompt into a Design.

Bring the prompt and reference image into OpenDesign. Add your content, build the first version and refine the details.

Download OpenDesign ↓
Pastel painting of a blue lake, green shores and a sunlit sky from the OpenDesign homepage.