Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

JPG images automatically flip horizontally in Image Core Component

Avatar

Level 4

We are having an issue with images flipping horizontally when adding them to a page with the Image Core Component. Also, we are unable to fix it using the "flip horizontal" option. This happens randomly and there does not seem to be any rhyme or reason to this behavior. Has anyone else had this issue?

 

image-flip-issue.png

AEM On-premise version 6.5.21.0

Core Component Version 2.27.0

Image Component v3

2 Replies

Avatar

Community Advisor

Hi @JonMaguire ,

 

I found 2 properties in the com.adobe.cq.wcm.core.components.models.Image interface:

  1. String PN_FLIP_HORIZONTAL = "imageFlipHorizontal";
  2. String PN_FLIP_VERTICAL = "imageFlipVertical";

I found out that these properties take place in the com.adobe.cq.wcm.core.components.internal.helper.image.AssetDeliveryHelper. This is a helper to get the image Asset Delivery URL. Locally this mode is not available, because it's present only on Cloud env. Read more: https://experienceleague.adobe.com/en/docs/experience-manager-core-components/using/developing/web-o...

 

According to logic, the image is flipped horizontally when the image resource has the property: imageFlipHorizontal=true.

 

Therefore, I'd suggest to check next things:

1) Does your image resource have imageFlipHorizontal=true?

2) Who sets this property on your image resource?

 

Best regards,

Kostiantyn Diachenko.

 

Kostiantyn Diachenko


Check out AEM VLT Intellij plugin


Thanks for your reply, @konstantyn_diachenko

 

Our AEM instance is on-premise, so we don't use Web-Optimized Image Delivery available in the AEMaaCS.

 

The images do not have an imageFlipHorizontal as part of their properties.

 

We do allow authors to make edits to images using options available in the cq:inplaceEditing node as part of our image component policy that is set in cq:editConfig. One of the options is the flip option. We also have this as part of our cq:design_dialog.

  • components/content/image/cq:editConfig/cq:inplaceEditing/plugins/flip
  • components/content/image/cq:design_dialog/content/items/tabs/items/features/items/content/items/accordion/items/orientation/items/flip

That being said, an author/editor has to choose to flip an image, so these shouldn't cause the auto-flipping we are encountering. I did test removing this plugin just to be sure, and it did not eliminate the problem.