Skip to main content

Content Preview Sizing

  • March 6, 2024
  • 0 replies
  • 137 views

  • New Participant
  • 1 reply

We use the Content Preview UI element to display a variety of files that are different dimensions. Some are long portrait, some are narrow landscaped. Is there a way to have the height property of the Content Preview automatically adjust or be in better proportion to the content.

I have considered inserting metadata into the file at the time of file generation with the dimensions so I could calculate an appropriate dimension but to do that it looks like I would need to pass the file from box to another service.

0 replies

Be the first to reply!