Image upload admin thumbnail

default discord avatar
eddieDev
5 months ago
4

Hello, I have images uploaded to the s3 bucket.


Inside of Media collection, I am calling adminThumbnail: ({ doc }) => {} with a function to fetch media data via the collection api endpoint /api/DefaultMedia/....


When I'm inside of the Media collection view, the thumbnail loads ok.


But when I'm in the Media collection list, I'm seeing checkboxes instead of the admin thumbnail images.


I have disableLocalStorage: true.


Any ideas? Ty.

  • default discord avatar
    Hendrik
    5 months ago

    @eddieDev these checkboxes are for bulk actions. click on columns, is there your image field listed?

  • default discord avatar
    eddieDev
    5 months ago

    Oh nice thanks @Hendrik ! Did not know that. Is filename the one?



    Yup this worked. ty!

    image.png
    image.png
  • default discord avatar
    Hendrik
    5 months ago

    np!

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.