Check image dimensions in Dosya

Read image dimensions from the mobile viewer, distinguish decoded size from server metadata, and avoid treating a HEIC derivative as original pixels.

Last reviewed

The Dosya mobile viewer learns image dimensions from the native decoder after the image loads. The files API does not store or return a width and height for this display.

Dark four-step workflow showing Files, an image preview, displayed dimensions, and refresh verification.
The workflow image visibly directs the reader to open a media file, compare the preview and details, confirm displayed dimensions, and reopen the view. Open full-size screenshot.

Choose a reliable test file

Use a JPEG or PNG when you must verify original pixel dimensions. The mobile viewer may display a generated thumbnail for HEIC content, so a reported HEIC width and height can describe the decoded derivative rather than the untouched original. Compare against the source file before using the value for print, design, or forensic work.

Steps

  1. Open Files in the Dosya mobile app and select the intended image. Confirm its filename and folder first so that a similarly named derivative is not mistaken for the original.
  2. Wait until the image finishes loading. The viewer uses a contain layout, so the entire photo remains visible rather than being cropped to fill the screen.
  3. Read the metadata line beneath the filename. When the decoder reports a natural size, Dosya adds a value such as 4032 x 3024 alongside size, kind, and created date.
  4. Rotate the device or zoom the preview if useful, but do not interpret the onscreen rendered size as a new pixel count. Those view operations do not modify the file.
  5. For a critical measurement, download the original through an allowed client and compare its dimensions with the viewer result.
Browser image preview showing Campaign overview.png with the Details panel open.
This screenshot visibly shows the common preview shell and Details panel; decoded image dimensions for this task are read from the Dosya mobile viewer. Open full-size screenshot.

If no dimensions appear

The dimension label is dynamic and is omitted until the native image loader supplies both non-zero values. A network, decode, access, or unsupported-format failure can therefore leave only the server-backed metadata. Retry after reconnecting, confirm the file is not hidden or locked for the member, and test a known JPEG or PNG.

The pictured browser viewer shows the common file preview and Details layout, but that side panel contains identity and storage information rather than decoded image dimensions. Use the mobile viewer’s metadata line for this task.

Expected result

After a supported image decodes, the mobile viewer shows its width and height in pixels. Viewing, rotating, or zooming the image leaves the stored bytes and version unchanged.

Was this helpful?

Loading helpfulness results…

Voting saves a necessary ballot cookie for up to 180 days so you can change your answer.

Questions and replies

Ask about the steps in this guide. Questions are reviewed before publication.

Keep account details, credentials and private files out of public questions. Use private support for those.

Loading questions…

    Sign in to your Dosya account to ask a question.

    Check the outcome before you retry

    Use these shared checks when a task needs a second look.