"...resnet50_tensorflow.git" did not exist on "f94e50204beca6f8459b1181547932fbfb9ac472"
Commit ff962098 authored by MoonRide303's avatar MoonRide303
Browse files

Fixed Load Image preview not displaying some files (issue #1158)

parent 326577d0
......@@ -335,7 +335,7 @@ export const ComfyWidgets = {
subfolder = name.substring(0, folder_separator);
name = name.substring(folder_separator + 1);
}
img.src = api.apiURL(`/view?filename=${name}&type=input&subfolder=${subfolder}${app.getPreviewFormatParam()}`);
img.src = api.apiURL(`/view?filename=${encodeURIComponent(name)}&type=input&subfolder=${subfolder}${app.getPreviewFormatParam()}`);
node.setSizeForImage?.();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment