mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-24 22:58:08 +00:00
## Summary Hide image resolution subtitle on cloud asset cards because thumbnails are downscaled to max 512px, causing `naturalWidth`/`naturalHeight` to report incorrect dimensions. ## Changes - **What**: Gate the dimension display in `MediaAssetCard.vue` behind `!isCloud` so resolution is only shown on local (where full-res images are loaded). Added TODO referencing #10590 for re-enabling once `/assets` API returns original dimensions in metadata. ## Review Focus One-line conditional change — the `isCloud` import from `@/platform/distribution/types` follows the established pattern used across the repo. Fixes #10590 ## Screenshots (if applicable) N/A — this removes a subtitle that was displaying wrong values (e.g., showing 512x512 for a 1024x1024 image on cloud). ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-10602-fix-hide-inaccurate-resolution-subtitle-on-cloud-asset-cards-3306d73d36508186bd3ad704bd83bf14) by [Unito](https://www.unito.io)