Blueprint not being found

I am having some trouble to have my image.yml being recognized.

I am receiving the message:

This file has no blueprint yet. You can define the setup in /site/blueprints/files/default.yml

my image.yml is at site/blueprints/files/blocks/image.yml

title: Add parallax speed values
fields:
  speed:
    label: Speed
    type: number
    min: -10
    max: 10
    step: 0.5
    default: 1

and referenced at site/blueprints/blocks/protests-table.yml

title: Protest Table
icon: book
preview: fields

fields:
  tableFile:
    label: Upload JSON
    type: files
    uploads: allow-json
    limit: 1
  gallery:
    label: Gallery
    type: files
    query: model.images
    multiple: true
    layout: cards
    size: large
    empty: "No images have been added to this gallery yet."
    extensions:
      - jpg
      - jpeg
      - png
      - webp
      - avif
    uploads:
      template: blocks/image

I tried many things from cleaning the cache, different image formats, adding dummy default.yml to /site/blueprints/files/ - (it worked, but that’s not what I want), and some other extreme things like a new kirby installation etc

But nothing of the images.yml.

What can be happening?

Thanks a lot for the help

Hm, that looks correct. Sure the file blueprint is in the correct location? BTW the extensions property doesn’t make sense in the gallery files field.

Note that your query is not limited to the files uploaded through this field, so the image options selectable might contain other images uploaded through other fields/sections which have no template assigned.

So change to:

  gallery:
    label: Gallery
    type: files
    query: model.images.template('blocks/image')
    multiple: true
    layout: cards
    size: large
    empty: "No images have been added to this gallery yet."
    uploads:
      template: blocks/image

Hello @texnixe,

thanks a lot for your answer. Actually I could resolve the issue the hard way. I deleted the images and txt files and added again. The blueprint worked.

And thanks for the hint of the query. I didn’t know this and definitely I will use it. Always learning. (: