Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filename prefix doesn't substitute #2

Open
wyrde opened this issue May 6, 2023 · 2 comments
Open

Filename prefix doesn't substitute #2

wyrde opened this issue May 6, 2023 · 2 comments

Comments

@wyrde
Copy link
Contributor

wyrde commented May 6, 2023

It broke my nice, tidy folder/prefix

file subs 2023-05-06 00_40_48-ComfyUI — Mozilla Firefox

file subs 2023-05-06 00_45_14-Window

@thugcee
Copy link

thugcee commented Sep 24, 2023

Does anyone have any workaround for this?

@storagekid
Copy link

storagekid commented Oct 26, 2023

Hi. This worked for me:

  1. Copy the file "ComfyUI\web\extensions\core\saveImageExtraOutput.js" to "ComfyUI\web\extensions\saveAsWebpExtraOutput.js" and open it.
  2. Change line 6 and give it a unique name ej: 'name: "Comfy.image.Save_as_webp'.
  3. Change the name of the node in line 8, from "if (nodeData.name === "SaveImage")" to "if (nodeData.name === "Save_as_webp")".
  4. Restart ComfyUI and it should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants