Image metadata discrepancy in ÃÛ¶¹ÊÓƵ Experience Manager (AEM) Assets
This article provides a solution for the issue of image metadata discrepancies in ÃÛ¶¹ÊÓƵ Experience Manager (AEM) Assets, where height and width values are displayed incorrectly. Verify and correct metadata to ensure accurate dimension attributes.
Description description
Environment
ÃÛ¶¹ÊÓƵ Experience Manager (AEM) 6.5, Assets
Issue/Symptoms
When uploading images to AEM, the image metadata for height and width does not display correctly. For example, vertical images with dimensions such as 2667x4000 pixels might show swapped values in AEM’s metadata properties, displaying a width of 4000 pixels and a height of 2667 pixels. In some cases, an image’s metadata is not swapped but is completely incorrect.
Resolution resolution
To resolve this issue where image dimensions appear incorrectly due to image metadata discrepancies, try the following:
- Verify image metadata with an external tool like or to check the embedded metadata within the image file. Confirm the
Image Width
andImage Height
values. - If the metadata is incorrect (i.e., width and height are swapped), recreate the image file with accurate metadata. Make adjustments directly on the original file before re-uploading it into AEM.
- Once corrected, upload these files back into AEM to ensure they reflect proper dimension attributes in their metadata properties.