Extensions/ComfyUI-DoubleClickOpenImage
ComfyUI Extension

ComfyUI-DoubleClickOpenImage

Allows you to double-click on the thumbnail of a node to open the full-size image in a new tab.

By SparknightLLC·Created 9 months ago·Updated 3 months ago· 2
SparknightLLC/ComfyUI-DoubleClickOpenImage
Nodes
On cloudLocal install
Stars2
Updated3 months ago
Readme

ComfyUI-DoubleClickOpenImage

A simple extension for ComfyUI that allows you to double-click on the thumbnail of a node to open the full-size image in a new tab. Works with nodes such as Preview Image and Load Image.

Settings

The extension now exposes native ComfyUI settings under Double Click Open Image > Viewer:

  • Use Viewer Page: enables the same-origin viewer.html mode (recommended).
  • Center Image: centers the image in the viewport.
  • Viewer image min width, Viewer image min height
  • Viewer image max width, Viewer image max height
  • Viewer tab title: supports %FILENAME%, %WIDTH%, and %HEIGHT%.
  • Viewer image interpolation: controls the viewer image's CSS image-rendering mode.

Size settings accept CSS length values like 0px, 100%, 90vw, 90vh, or none (max only).

Thank you to ComfyUI-ImageGallery-ED, the code of which was helpful in figuring out how to bind the double-click event. It's a great extension if you want a built-in image viewer instead.