InvokeAI icon indicating copy to clipboard operation
InvokeAI copied to clipboard

[bug]: Board thumbnails not refreshing

Open PLAN8VR opened this issue 1 year ago • 4 comments

Is there an existing issue for this problem?

  • [X] I have searched the existing issues

Operating system

Windows

GPU vendor

Nvidia (CUDA)

GPU model

RTX2080

GPU VRAM

8GB

Version number

3.7.0

Browser

Chrome latest

Python dependencies

No response

What happened

After deleting the top most image in one of the boards, the board thumbnail remains stuck on the now none existent image.

What you expected to happen

The board thumb to refresh onto the next available image in the board.

This also doesnt update after a full browser refresh, engine refresh, transient files clean. Nothing seems to reset it except creating a new image.

How to reproduce the problem

Create a board Create some images Delete the latest Check the board thumbnail.

Additional context

No response

Discord username

No response

PLAN8VR avatar Feb 23 '24 19:02 PLAN8VR

Happens mostly with assets for me.

ufuksarp avatar Feb 24 '24 13:02 ufuksarp

Hello! One year has passed since this bug report was opened. Have you installed the latest version of Invoke? Currently we are at version 5.4.3! Is the problem still persistent? In the negative, and if there is no further feedback from the users, I would recommend to dismiss this bug report.

Harvester62 avatar Dec 17 '24 15:12 Harvester62

I have a different issue, I accidently deleted the thumbnail folder thinking it would be regenerated. But Invoke AI simply does not regenerate it automatically.

jewelsonn avatar Feb 21 '25 07:02 jewelsonn

If you have a different issue, then you should open a new bug report.

This bug report should be closed if not confirmed to be present in the latest version of the program.

Harvester62 avatar Feb 24 '25 09:02 Harvester62

I deleted the thumbnails/ directory as well (not really an "accident", I assumed they would be re-generated, but they didn't). I ran this script to regenerate them manually. (Run this in your outputs_dir directory.)

for name in *.png; do
  echo "Converting $name...";
  convert $name -resize 256x256 thumbnails/`basename $name .png`.webp;
done

simonfuhrmann avatar Jul 13 '25 04:07 simonfuhrmann

Sorry, I haven't installed the latest version, and don't have time to for the foreseeable please close if considered fixed thanks

PLAN8VR avatar Aug 27 '25 16:08 PLAN8VR

I deleted the thumbnails/ directory as well (not really an "accident", I assumed they would be re-generated, but they didn't). I ran this script to regenerate them manually. (Run this in your outputs_dir directory.)

for name in *.png; do
  echo "Converting $name...";
  convert $name -resize 256x256 thumbnails/`basename $name .png`.webp;
done

In Windows the following batch file does the trick:

@echo off
for %%f in (*.png) do (
    magick "%%f" -resize 256x -quality 80 "thumbnails/%%~nf.webp"
)

You need to install ImageMagick for Windows: https://imagemagick.org/script/download.php#windows

lucianohebertgp4-oss avatar Aug 31 '25 00:08 lucianohebertgp4-oss