main
- Clear cached images on node creation and workflow load - Add onConfigure handler to reload correct preview - Only load preview for current mode (file or url) - Add cache-busting to file loads - Clear previews when switching modes 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
ComfyUI Load Image (File/URL)
A custom ComfyUI node that loads images from either local files or URLs with live preview.
Features
- Dual Source: Switch between local files and URLs with a simple dropdown
- Live Preview: See image preview directly in the node for both sources
- Upload Support: Upload new images directly from the node
- Responsive Preview: Preview scales to fit node size
Installation
Via ComfyUI Manager (Recommended)
Search for "Load Image URL" in ComfyUI Manager and click Install.
Manual Installation
- Navigate to your ComfyUI's
custom_nodesfolder - Clone this repository:
git clone https://github.com/Braeden90000/comfyui-load-image-url.git load_image_url - Restart ComfyUI
Usage
- Add the "Load Image (File/URL)" node from the
imagecategory - Select source:
fileorurl - For files: Use the dropdown to select existing images or click "choose file to upload"
- For URLs: Paste any direct image URL (supports jpg, png, webp, etc.)
Inputs
| Input | Type | Description |
|---|---|---|
| source | dropdown | Choose between "file" or "url" |
| image | dropdown | Select from uploaded images |
| url | string | Direct URL to an image |
Outputs
| Output | Type | Description |
|---|---|---|
| IMAGE | IMAGE | The loaded image tensor |
| MASK | MASK | Alpha channel mask (white if no alpha) |
License
MIT License
Languages
JavaScript
57.2%
Python
42.8%