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.

validate image before upload on s3 bucket

default discord avatar
bhavikak.2 years ago
2

hello, i want to store image in s3 bucket with validate filename (ex. if image name = 'aws cloud' i want change it to 'aws-cloud') so i want replace space to desh(-) when image store in s3 bucket

  • default discord avatar
    jessrynkarlast year

    Hi

    @1043125033519820902

    this sounds like something you could use a field hook for - did you find a solution here?

  • default discord avatar
    bhavikak.last year

    hello

    @854377910689202256

    i implement using field hook



    now it's working

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.