diff --git a/kittens/choose_files/graphics.go b/kittens/choose_files/graphics.go index 155b88d1e..ea0f045e7 100644 --- a/kittens/choose_files/graphics.go +++ b/kittens/choose_files/graphics.go @@ -135,6 +135,7 @@ func (self *GraphicsHandler) cache_resized_image(cdir, cache_key string, img *im return nil, nil, fmt.Errorf("failed to write resized frame metadata to cache: %w", err) } cached_data = make(map[string]string, len(frames)+1) + cached_data[IMAGE_METADATA_KEY] = path for i, f := range frames { path := filepath.Join(cdir, fmt.Sprintf("rsz-%s-%d", cache_key, i)) key := IMAGE_DATA_PREFIX + strconv.Itoa(i)