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

default discord avatar
christian-reichart
10 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
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.