Sorry, we don't support your browser.  Install a modern browser
This post is closed.

Ability to change image template from panel#259

You can change page templates, but not image templates. This is frustrating.

3 years ago

You could, you just have to make the template selectable via a field in your file blueprints.

3 years ago
1

Possible but would mean adding the selector to every single file blueprint.

3 years ago

I’ve tried in many ways over the past, never got it to work. I’d love to see that piece of code, or better : native kirby support.

3 years ago
3 years ago

Thanks for this workaround Sonja, it does the job :)
(Still needs a page reload afterwards to see the change.)

    # site/blueprints/files/cover.yml
    fields:
      template:
        type: select
        options:
          - cover
          - default
3 years ago
Changed the status to
In upcoming releases
a year ago
Changed the status to
Completed
8 months ago