diff --git a/pkg/server/image.go b/pkg/server/image.go index 398b99e4f..956c421c4 100644 --- a/pkg/server/image.go +++ b/pkg/server/image.go @@ -127,7 +127,7 @@ func (ih *ImageHandler) cached(fileRef blob.Ref) (*schema.FileReader, error) { // Key format: "scaled:" + bref + ":" + width "x" + height // where bref is the blobref of the unscaled image. func cacheKey(bref string, width int, height int) string { - return fmt.Sprintf("scaled:%v:%dx%d:tv%d", bref, width, height, images.ThumbnailVersion()) + return fmt.Sprintf("scaled:%v:%dx%d:tv%v", bref, width, height, images.ThumbnailVersion()) } // ScaledCached reads the scaled version of the image in file,