<!--
{
  "availability" : [
    "LivePhotosKit JS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "LivePhotosKitJS",
  "identifier" : "/documentation/LivePhotosKitJS/LivePhotosKit.Player/photoHeight",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "LivePhotosKit JS"
    ],
    "preciseIdentifier" : "instp/LivePhotosKit.Player/photoHeight"
  },
  "title" : "photoHeight"
}
-->

# photoHeight

The height, in pixels, of the photo component.

```
readonly attribute Number photoHeight;
```

## Discussion

Height of the photo component (as obtained from [`photoSrc`](/documentation/LivePhotosKitJS/LivePhotosKit.Player/photoSrc) or [`photo`](/documentation/LivePhotosKitJS/LivePhotosKit.Player/photo)) in pixels.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)