Like what we’re doing? Star us on GitHub!

Best way to "reupload" all images in a collection to trigger hooks and new sizes?

christian-reichart
2 months ago
1 1

I've added new sizes, an "filename renaming" beforeOperation hook and a "base64 placeholder string" beforeChange hook to one of my upload collections.

What's the best way to "recreate" all the existing files to generate new images, a new filename and the base64 placeholder?

Thanks for any hints!

Open the post
Continue the discussion in GitHub
Can't find what you're looking for?
Get help straight from the Payload team with an Enterprise License.Learn More