Files
ComfyUI_frontend/src/extensions/core
Johnpaul Chiwetelu 1f0ca18737 fix: refresh image previews on media upload nodes when refreshing node definitions (#9141)
## Summary
- When pressing `R` to refresh node definitions, image previews on
LoadImage/LoadVideo nodes now update to reflect external file changes
- Re-triggers the combo widget callback to regenerate preview URLs with
a fresh cache-busting `&rand=` parameter
- Extracts `isMediaUploadComboInput` from `uploadImage.ts` to
`nodeDefSchema.ts` as a shared utility

- Fixes #2082



https://github.com/user-attachments/assets/d18d69ae-6ecd-448d-8d7c-76b2c49fdea5



## Test plan
- [ ] Open a workflow with a LoadImage node and select an image
- [ ] Edit and save the image externally (e.g. in an image editor)
- [ ] Press `R` to refresh node definitions
- [ ] Verify the preview updates to show the edited image
2026-02-23 20:57:24 -08:00
..
2026-02-10 15:36:57 -05:00
2026-01-27 17:59:19 -08:00
2026-02-12 00:13:48 +01:00

Core Extensions

This directory contains the core extensions that provide essential functionality to the ComfyUI frontend.

📚 Full Documentation

The complete documentation for core extensions has been moved to:

/docs/extensions/core.md

Quick Reference

This directory contains built-in extensions that ship with ComfyUI, including:

  • Image Processing: maskeditor, uploadImage, saveImageExtraOutput, clipspace
  • Graph Management: groupNode, groupNodeManage, groupOptions, rerouteNode, noteNode
  • Input Handling: widgetInputs, uploadAudio, webcamCapture, simpleTouchSupport
  • UI Enhancements: contextMenuFilter, previewAny, nodeTemplates
  • Text Processing: dynamicPrompts, editAttention
  • Platform Support: electronAdapter

and more.

See Also