Skip to content

Image Card

Image Card template is used to display an image preview of a page, news article or document.

Managed Properties

  AuthorOWSUSER
  FileExtension
  MercuryArticleDateOWSDATE
  NormSiteID
  owstaxIdMercuryBusinessUnit 
  owstaxIdMercuryCategory
  owstaxIdMercuryDepartment
  Path
  PictureThumbnailURL
  SiteID
  Title
  UniqueID
  WebId

Note

NormSiteID, WebId and UniqueID are required for the article preview image, when returning home pages PictureThumbnailURL is used.

When searching for documents additional managed properties are required:

MDCTitleOWSTEXT
FileExtension

Slots

Slot Managed Property
Title Title
Date MercuryArticleDateOWSDATE
User AuthorOWSUSER
Icon FileExtension
Tags owstaxIdMercuryCategory
Icon FileExtension
Geo GeoLocation
Views ViewsLifeTime
Likes LikesCount
Comments CommentCount

Note

Slot values can be removed or changed to display a prefered managed property in the slot.

Swapping Geo Value

When Geo is displayed on a template, the value of this may not be best represented to what the Geo location is. The value can be updaeted in the custom branding file using the css below:

Hides Current Value

.mercury-geo-{Geo Value}[data-geo*="{Geo Value}"] span {
  display: none;
}

Sets New Value

.mercury-geo-{Geo Value}[data-geo*="{Geo Value}"]::before {
  content: '{New Geo Value}';
}