Skip to content

Preview image is not showing ...... #440

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

Open
S4MUEL-404 opened this issue Feb 20, 2025 · 30 comments
Open

Preview image is not showing ...... #440

S4MUEL-404 opened this issue Feb 20, 2025 · 30 comments

Comments

@S4MUEL-404
Copy link

Image

Image

I remember that in the past, thumbnail images would appear, and there would be a "*" symbol next to the Lora name. Now, there’s nothing.

@NyaamZ
Copy link

NyaamZ commented Feb 21, 2025

I have the same problem.

@PhoenixRogers88
Copy link

I have this issue with both the Lora and Model loader.

@qq515648583
Copy link

same old bugs keep popping up every time when push an update.

@zefyr0s
Copy link

zefyr0s commented Feb 26, 2025

Looking at rgthree's commits they reference a change to Comfyui's backend that messes with how the preview information is served.

rgthree/rgthree-comfy@32142fe

Disabling rgthree does not fix this issue, but whatever they did didn't either it seems.

@ZiYao00
Copy link

ZiYao00 commented Feb 27, 2025

Can you tell us which file it is? I would like to try Deepseek to modify the code

@Morbleh
Copy link

Morbleh commented Feb 28, 2025

When they will find a solution !!! Like without hands!)))

@trueninja
Copy link

when use main ver 0.3.14,the loader works well,but if update to 0.3.15, "*" and preview would disappear. if back to 0.3.14, they will back.

@Morbleh
Copy link

Morbleh commented Mar 3, 2025

You can eat that they will fix it or not!?

@pythongosssss
Copy link
Owner

I've rewritten this functionality so hopefully it shouldn't break so often in future (and hopefully is now working!)

I've changed the submenu to be a nested tree in the same menu so filtering works on these lists now if you have submenu enabled.
Also added an additional display mode (Settings -> pysssss -> Combo++ -> Lora/Checkpoint loader display mode) for a grid thumbnail mode.

@RATRAT666
Copy link

I've rewritten this functionality so hopefully it shouldn't break so often in future (and hopefully is now working!)

I've changed the submenu to be a nested tree in the same menu so filtering works on these lists now if you have submenu enabled. Also added an additional display mode (Settings -> pysssss -> Combo++ -> Lora/Checkpoint loader display mode) for a grid thumbnail mode.

Image

sadly , it still shows no preview image of models. and I found that pysssss loader even became like this.(but other loader shows name correctly , but no preview) im using the comfyui 0.3.26 .

@RATRAT666
Copy link

I've rewritten this functionality so hopefully it shouldn't break so often in future (and hopefully is now working!)

I've changed the submenu to be a nested tree in the same menu so filtering works on these lists now if you have submenu enabled. Also added an additional display mode (Settings -> pysssss -> Combo++ -> Lora/Checkpoint loader display mode) for a grid thumbnail mode.

If i change my comfyui back to 0.3.14, everything works fine.

@DarkenedShade
Copy link

DarkenedShade commented Mar 11, 2025

I had a similar error happen when I loaded up my workflow all my lora names were [object Object]

Image

and the dropdown was only showing the models in the base directory ( I have most of mine in external directories)

I also check here and originally the field was empty by default

Image

when trying the other modes list and thumbnails seem to work but tree still doesn't show the folders that my models are stored in

Edit: Also in list view my previews are back

@RATRAT666
Copy link

I had a similar error happen when I loaded up my workflow all my lora names were [object Object]我加载我的工作流时遇到了一个类似的错误,所有我的 lorawan 名称都变成了[对象对象]

Image and the dropdown was only showing the models in the base directory ( I have most of mine in external directories)下拉菜单只显示了基础目录中的模型(我的大多数模型都在外部目录中)

I also check here and originally the field was empty by default我也在这里检查过,最初该字段默认为空

Image when trying the other modes list and thumbnails seem to work but tree still doesn't show the folders that my models are stored in尝试其他模式列表时,缩略图似乎可以正常工作,但树视图仍然没有显示我的模型存储的文件夹

Edit: Also in list view my previews are back编辑:列表视图中我的预览也回来了

does this mean your problem has been solved ? which version of comfyui u r using ? I 'm still in 0.3.14 .

@vslinx
Copy link

vslinx commented Mar 12, 2025

I had a similar error happen when I loaded up my workflow all my lora names were [object Object]我加载我的工作流时遇到了一个类似的错误,所有我的 lorawan 名称都变成了[对象对象]
Image
and the dropdown was only showing the models in the base directory ( I have most of mine in external directories)下拉菜单只显示了基础目录中的模型(我的大多数模型都在外部目录中)
I also check here and originally the field was empty by default我也在这里检查过,最初该字段默认为空
Image
when trying the other modes list and thumbnails seem to work but tree still doesn't show the folders that my models are stored in尝试其他模式列表时,缩略图似乎可以正常工作,但树视图仍然没有显示我的模型存储的文件夹
Edit: Also in list view my previews are back编辑:列表视图中我的预览也回来了

does this mean your problem has been solved ? which version of comfyui u r using ? I 'm still in 0.3.14 .

I have updated pysssss, comfyui and everything else because i thought it was fixed but sadly it's not.
The tree view gives the [Object object] view and the List as well as the Grid view do not bring back the preview images for me.

If you want to use the newest version of ComfyUI but still have the preview images you can use the old frontend side which still has working preview images. Just attach " --front-end-version Comfy-Org/ComfyUI_frontend@1.8.14" to the starting parameter of your comfyui start script.

I hope this will be resolved soon too, i miss my preview images 😂
But i know pythongosssss is giving his best and is providing us with all of this for free, to which i'm eternally grateful 🫡🫶

@murphylanga
Copy link

The last working frontend was version 1.9.1.
Unfortunately, I can no longer load it since I completely updated ComfyUI:

ERROR: Could not find a version that satisfies the requirement comfyui-frontend-package==1.9.1 (from versions: 1.10.14, 1.10.15, 1.10.16, 1.10.17, 1.10.18, 1.11.6, 1.11.7, 1.11.8, 1.12.0, 1.12.1, 1.12.2, 1.12.3, 1.12.4, 1.12.5, 1.12.6, 1.12.7, 1.12.8, 1.13.0, 1.13.1, 1.13.2, 1.13.3)
ERROR: No matching distribution found for comfyui-frontend-package==1.9.1

It doesn't work up to v1.13.3, the most recent version at the moment, regardless of the custom nodes, whether RGthree or EasyUse, or here.

@vslinx
Copy link

vslinx commented Mar 13, 2025

The last working frontend was version 1.9.1. Unfortunately, I can no longer load it since I completely updated ComfyUI:

ERROR: Could not find a version that satisfies the requirement comfyui-frontend-package==1.9.1 (from versions: 1.10.14, 1.10.15, 1.10.16, 1.10.17, 1.10.18, 1.11.6, 1.11.7, 1.11.8, 1.12.0, 1.12.1, 1.12.2, 1.12.3, 1.12.4, 1.12.5, 1.12.6, 1.12.7, 1.12.8, 1.13.0, 1.13.1, 1.13.2, 1.13.3) ERROR: No matching distribution found for comfyui-frontend-package==1.9.1

It doesn't work up to v1.13.3, the most recent version at the moment, regardless of the custom nodes, whether RGthree or EasyUse, or here.

weird, i am able to go down in the frontend version to 1.8.14 even with ComfyUI version 0.3.26.
Image

But sadly the trick doesn't work anymore nontheless because of the new implementation of the way the preview images are being loaded. Last comfyui version i can confirm it working with was the 0.3.18, but since i've upgraded yesterday to 0.3.26 i'll also have to work without preview images for now. 🥲

@kotoha0w0
Copy link

I had a similar error happen when I loaded up my workflow all my lora names were [object Object]我加载我的工作流时遇到了一个类似的错误,所有我的 lorawan 名称都变成了[对象对象]
Image
and the dropdown was only showing the models in the base directory ( I have most of mine in external directories)下拉菜单只显示了基础目录中的模型(我的大多数模型都在外部目录中)
I also check here and originally the field was empty by default我也在这里检查过,最初该字段默认为空
Image
when trying the other modes list and thumbnails seem to work but tree still doesn't show the folders that my models are stored in尝试其他模式列表时,缩略图似乎可以正常工作,但树视图仍然没有显示我的模型存储的文件夹
Edit: Also in list view my previews are back编辑:列表视图中我的预览也回来了

does this mean your problem has been solved ? which version of comfyui u r using ? I 'm still in 0.3.14 .

I have updated pysssss, comfyui and everything else because i thought it was fixed but sadly it's not. The tree view gives the [Object object] view and the List as well as the Grid view do not bring back the preview images for me.

If you want to use the newest version of ComfyUI but still have the preview images you can use the old frontend side which still has working preview images. Just attach " --front-end-version Comfy-Org/ComfyUI_frontend@1.8.14" to the starting parameter of your comfyui start script.

I hope this will be resolved soon too, i miss my preview images 😂 But i know pythongosssss is giving his best and is providing us with all of this for free, to which i'm eternally grateful 🫡🫶

I'm using 3.30.2
I added the " --front-end-version Comfy-Org/ComfyUI_frontend@1.8.14" parameter and now the image preview is working for me! thx💕

@pythongosssss
Copy link
Owner

pythongosssss commented Mar 16, 2025

I've fixed a couple of issues (a crash with subfolders, and fixing old widget values), I'm not fully convinced this will fix all the problems people are having.

I've tested using the latest frontend 1.13.6, and can't recreate any issues in Firefox/Edge/Chrome on Windows:
Image

List (normal):
Image

Tree (subfolders):
Image

Thumbnails (grid):
Image

I'm not sure if there is some incompatibility with other custom nodes but if there are still issues can you please ensure you have the latest version of ComfyUI frontend (1.13.6) & custom scripts (check the Combo++ display mode setting name, it should be exactly 🐍 Lora & Checkpoint loader display mode NOT with a / in it)
Image

Then if could please try without other custom nodes installed and check the browser devtools console for any errors (Firefox: https://firefox-source-docs.mozilla.org/devtools-user/, Chrome/Edge: https://developer.chrome.com/docs/devtools/overview#open)

@vslinx
Copy link

vslinx commented Mar 16, 2025

I've fixed a couple of issues (a crash with subfolders, and fixing old widget values), I'm not fully convinced this will fix all the problems people are having.

I've tested using the latest frontend 1.13.6, and can't recreate any issues in Firefox/Edge/Chrome on Windows: Image

List (normal): Image

Tree (subfolders): Image

Thumbnails (grid): Image

I'm not sure if there is some incompatibility with other custom nodes but if there are still issues can you please ensure you have the latest version of ComfyUI frontend (1.13.6) & custom scripts (check the Combo++ display mode setting name, it should be exactly 🐍 Lora & Checkpoint loader display mode NOT with a / in it) Image

Then if could please try without other custom nodes installed and check the browser devtools console for any errors (Firefox: https://firefox-source-docs.mozilla.org/devtools-user/, Chrome/Edge: https://developer.chrome.com/docs/devtools/overview#open)

running a new comfyui installation without any custom nodes apart from CustomScripts restores the preview function on comfyui 0.3.26 and frontend 1.12.14 and up. (Tested on 1.12.14 and 1.13.6 as 1.12.14 was the default frontend version a fresh installation started with).

In my current setup with everything updated the previews sadly still do not work, but that may be interference with another custom node, sadly the console output isn't really helpful as it doesn't throw any errors or warnings that'd hint to the issue.

Guess i'll have to disable each custom node now and see which one is causing the problems 🫡

Thank you for your hard work!

Edit: The one causing the issue was the EasyUse Node from yolain (who opened the pull request in the comfyui repo).
The EasyUse Node is also the one responsible for the [Object object] error in the tree view.
I don't know if this issue will be fixed soon in the EasyUse custom node but you don't have to disable the whole node entirely.
It's enough to go into the settings and turn off the model preview thumbnails and the automatic nesting of subdirectories as seen here:
Image

This will let you use both custom nodes while keeping your preview images with the new patch from @pythongosssss :)

Image

@murphylanga
Copy link

Hello pythongosssss, first of all, thank you so much for your work.
I just discovered another conflict. When the RGThree nodes are set to Auto Nest Subdirectories in the menus, the same problem occurs: thumbnails aren't displayed, and the subdirectories aren't displayed correctly.

This needs to be disabled for now:

Image

@zefyr0s
Copy link

zefyr0s commented Mar 17, 2025

Just to add here, newest version of comfy, disabled auto-nest in rgthree otherwise it breaks custom's previews.

Easy-use settings do not seem to interfere, so the auto-nesting from that still works (for nodes other than custom scripts' - but you also lose the fancy new trees).

Love your nodes and the new tree-selection is great!

@laritz2001
Copy link

Can someone confirm that this still work for the newest front end 1.14.0?

@murphylanga
Copy link

This workaround also work with 1.14.0

@laritz2001
Copy link

I am having a lot of trouble understanding the behavior of the lora previews. Upon loading Comfyui, the initial inquiry into my loras menu display the tree organization and previews, upon second inquiry it switches over to list with no previews.

In addition refreshing with F5 will allow me to see the previews one more time. However after disabling all other nodes in the extension menu, and only leaving the combo++, refreshing with F5 no longer works.

My current working theory is that there is some dependency or interaction that gets overwritten after the first inquiry into the lora menu.

@DeepSeaCatz
Copy link

DeepSeaCatz commented Mar 18, 2025

Portable comfy v0.3.25 with new update of Custom-Script:
Nesting seems to be back, but I'm currently hovering "Style", not character, so almost there?
Image

Checkpoint Loader seem to be better, but preview image still now displaying:

Image

@RATRAT666
Copy link

Image

preview imgae is back. but only in pysss 's loader. i remenber it worked even in other loader earlier. like comfyui 0.3.14

@kaiery
Copy link

kaiery commented Mar 20, 2025

After verification, it was found that as long as the following two plug-ins are disabled, the core node model preview and custom-scripts node model preview can be realized

Image

Image

Image

Image
Image
Image
Image
Image
Image

@DeepSeaCatz
Copy link

Image

Oh snap finally! That is working!
I am not sure if there would be a way to edit the Custom Scripts code to bypass these 2 settings or if that is now the norm for it to work.
Image

Image

@ZiYao00
Copy link

ZiYao00 commented Mar 26, 2025

Thanksssssssssssss. This issue had been troubling me for a whole month, and it's finally resolved. Although the List Mode doesn't support subfolder hierarchy, the Tree Mode works perfectly, and that's more than enough.

@lord-lethris
Copy link

If this helps in the interim - I fixed this by Disabling these Node Options here:

Image

Image

Then enabling this here:

Image

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