2 Commits
Author SHA1 Message Date
solidlime f7284990ed Fix: Add WEB_DIRECTORY and simplify JavaScript widget
Critical fixes:
- Added WEB_DIRECTORY = './web' to __init__.py (REQUIRED for ComfyUI to load JS)
- Simplified JavaScript implementation based on working custom nodes
- Removed unnecessary imports (ComfyWidgets)
- Cleaner button implementation that actually registers

This should now properly load the JavaScript widget when ComfyUI starts.
2026-01-07 21:04:57 +09:00
solidlime 1f3bfe02ef Initial implementation of Random Image Picker node
- Single image and folder random selection modes
- Subfolder scanning support
- Resolution output (width/height)
- Seed control for reproducible random selection
- Support for PNG, JPEG, WebP, BMP, GIF formats
2026-01-07 20:09:11 +09:00