Skip to main content

Post Media

Overview

LMPostMedia is responsible for displaying media attachments such as images and videos within a post. It manages the layout, rendering, and interaction of the attached media, providing a rich multimedia experience for users.

LMFeedPostContent

Customisation

The LMFeedContextStyles class allows you to customize the appearance of the LMPostContent. You can set the styles in media inside of postListStyle in LMFeedContextStyles.

PropertyTypeDescription
postMediaStyleViewStyleStyle for the post media container.
imageLMImageConfiguration for displaying images.
videoLMVideoConfiguration for displaying videos.
carouselLMCarouselConfiguration for media carousel.
documentLMDocumentConfiguration for displaying documents.
linkPreviewLMLinkPreviewConfiguration for displaying link previews.
noPostViewViewStyleStyle for the view when no post is available.
noPostTextTextStyleStyle for the text when no post is available.
listStyleViewStyleStyle for the list of media items.