Sorry, we don't support your browser.  Install a modern browser

Files: default blueprint per filetype#162

My usual files/default.yml looks like this:

title: File
fields:
  poster:
    label: Video Poster
    type: files
    query: file.page.images
  focus:
    label: Focuspoint
    type: focus
    width: 1/2
  alt:
    label: Alt Text
    type: text

E.g. I mix up fields only needed for videos & images because it’s the simplest way to get the job done. It would be nicer to separate them but I don’t know of a simple way.

Dedicated file blueprints means that I need separate sections to upload them. I can’t mix videos and images with dedicated templates in one files section. Or am I doing this wrong?

a month ago