Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

how to configure payload-webp

default discord avatar
dnl.krmr2 years ago
3

Hey together, I want to add the plugin

https://github.com/chladog/payload-webp

to my project.



But I don't know how to configure my media collection fields correctly.



Anyone here using this plugin currently and could help?

  • default discord avatar
    notchr2 years ago

    Hello

    @775820309730557982

    - From reading the docs on that repo, it looks like you shouldn't have to modify the collection config, however, you do need to add the collections you want the plugin to affect in the plugin configuration



      collections?: CollectionConfig['slug'][];


    https://github.com/chladog/payload-webp#plugin-options
  • default discord avatar
    dnl.krmr2 years ago
    @1049775120559898725

    thanks, I will try this as far as I installed docker to test my environment 😄



    I'll give you an info this evening. Need to try it again at home where I got mongodb installed locally



    @1049775120559898725

    I'm not sure about my problem last week, but now it works.



    I think I forgot to call the plugin with the options parameter 😄



    Thanks for your mental support 🧠

  • default discord avatar
    notchr2 years ago

    hey of course!



    Glad you got it figured out 😄

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.