how to configure payload-webp

default discord avatar
danielkraemer
last month
8

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
    thisisnotchris
    last month

    Hello @danielkraemer - 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
    danielkraemer
    last month

    @thisisnotchris 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



    @thisisnotchris 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
    thisisnotchris
    last month

    hey of course!



    Glad you got it figured out 😄

Open the post
Continue the discussion in Discord
Like what we're doing?
Star us on GitHub!

Star

Connect with the Payload Community on Discord

Discord

online

Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.