Complementor/Attachment image dimensions
Content / widget · Elementor module

Attachment Image Dimensions Widget Plugin for Elementor

Show the pixel size and file size of a Media Library image, or of the current post's featured image, next to photos and downloads.

Included in All AccessClassic Elementor widgetFrom $29 USD / year
Complementor / Attachment image dimensionsProduct preview
Text, style and layout controls inside Elementor
01 / Interactive demonstration

Real image sizes

These are the actual published outputs of the widget for real Media Library images: a plain pixel size, an original-size badge for a large upload, and a download note.

02 / Inside WordPress

Attachment image dimensions controls in Elementor

Content sets whether to use a chosen image or the current post's featured image, the image, the wording with {width}, {height} and {filesize}, text before and after, a fallback, the HTML tag and an optional icon. The Style tab covers typography, colour, alignment, background, border, radius and padding, plus icon position, size, gap and colour.

03 / Website use cases

Where to use attachment image dimensions

Photographers, designers and download pages often list an image's size, and typed sizes go wrong when a file is replaced. Attachment image dimensions reads the size from the Media Library, reports the original upload even when WordPress stored a scaled copy, and can add the file size.

01

Photography portfolios

List each photo's resolution.

02

Press and media kits

Show the size of downloadable logos and photos.

03

Wallpaper or asset downloads

Tell visitors what they will get before downloading.

04 / Installation and setup

How to show image dimensions in Elementor

Start with Complementor installed and your license connected. Enable this module in the WordPress library, then configure it in Elementor.

  1. Install Complementor, connect your license and enable Attachment image dimensions in the Complementor library.

  2. Add the widget next to an image or download link.

  3. Choose a Media Library image, or the post's featured image in a template.

  4. Adjust the wording with {width}, {height} and {filesize}.

  5. Style it and check the frontend.

05 / Content and style controls

Customize attachment image dimensions in Elementor

Configure the settings available for this module to suit the page you are building.

  • A chosen image or the current post's featured image.

  • Original upload size, even when WordPress scaled it.

  • Optional file size, such as 1.2 MB.

  • Your own wording with {width}, {height} and {filesize}.

  • Numbers formatted for the site language.

  • Style: typography, colour, surface, icon.

06 / Choose the right approach

Attachment image dimensions and Elementor alternatives

Compare the existing Elementor workflow with this Complementor module before choosing your setup.

Typing the size

Typed sizes go wrong when a file is replaced. This reads the Media Library.

Checking the file after download

Visitors want to know first. The size is shown up front.

07 / Requirements and compatibility

Attachment image dimensions compatibility with Elementor

WordPress 6.5+PHP 8.0+Elementor 3.25+
  • Requires Elementor.
  • Media Library images only.
  • Public attachments only.

Complementor uses classic Elementor APIs. Atomic-native controls are not implemented. Check your theme, cache and integrations on a staging site before release.

08 / Common setup problems

Troubleshoot attachment image dimensions

Check these settings if the published page behaves differently from the editor.

Why is nothing shown?

No image is chosen, the post has no featured image, or the image is not public. Set Text when source is empty to show something there.

Why is the size larger than the image on the page?

It reports the original upload, not the size the image is displayed at.

Why is an SVG not measured?

SVG files have no pixel size stored in the Media Library.

Why is {filesize} blank?

The file could not be read on the server; check the upload still exists.

09 / Frequently asked questions

Attachment image dimensions plugin questions

Does it need Elementor Pro?

No. It works with the free version of Elementor.

Does it handle WordPress's big image scaling?

Yes. For uploads over 2560 px it reports the original size, not the scaled copy.

Can it use the featured image?

Yes. Choose Featured image of the current post for templates.

Is it accessible?

Yes. It is plain text, and the optional icon is hidden from screen readers.

Does it add JavaScript?

No. It is plain HTML and CSS.

10 / Annual All Access subscription

Get attachment image dimensions with Complementor

This module is included with all 1007 current Complementor solutions. Choose your production website allowance; every plan includes the same modules.

All Access · 1 site

One website

$29USD / year
  • All 1007 current modules
  • Plugin downloads and updates for one year
  • New releases during the paid term
  • Product support
Choose 1 site ↗

Renews at $29 USD each year.

All Access · 5 sites

A few websites

$49USD / year
  • All 1007 current modules
  • Plugin downloads and updates for one year
  • New releases during the paid term
  • Product support
Choose 5 sites ↗

Renews at $49 USD each year.

All Access · 25 sites

More websites

$99USD / year
  • All 1007 current modules
  • Plugin downloads and updates for one year
  • New releases during the paid term
  • Product support
Choose 25 sites ↗

Renews at $99 USD each year.

Applicable taxes extra. Annual subscriptions renew automatically unless canceled in your customer account. Elementor Pro is required for Exclude current post. Read the terms and 14-day technical-issue refund policy.