Skip to content

How to display a thumbnail in a collection (not Media) #9684

Answered by mouktardev
bhofstaetter asked this question in Q&A
Discussion options

You must be logged in to vote

In your Media Collection upload options just add displayPreview:true, and any collection that have relations to media will have a thumbnail similar.

export const Media: CollectionConfig = {
  upload: {
      displayPreview:true,  
   }
}

found it here in the docs
also reference here #5015

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@bhofstaetter
Comment options

@pevlabs
Comment options

Answer selected by bhofstaetter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants