Attachment not rotated in Attachment Viewer Template

200
4
Jump to solution
01-27-2021 12:41 PM
rob_hewy
New Contributor III

Hi,

In the experience builder based template the image gets rotated (probably reads the metadata)

However in the Attachment viewer template the metadata is skipped.

The image below has the web app in the background and the AppStudio App in the foreground.

rob_hewy_0-1611779400017.png

Happy bug hunting,

 

Rob

0 Kudos
1 Solution

Accepted Solutions
rob_hewy
New Contributor III

I tried adding 

autoTransform: true

For the main photo

  • File: AttachmentViewer/views/IdentifyView.qml
  • Line: 717 Image{id: image2}

For the thumbnail:

  • File: AttachmentViewer/views/MediaTabDelegate.qml
  • Line 43: Image{id:thumbnail}

Seemed to help,

rob_hewy_0-1612249563746.pngrob_hewy_1-1612249576954.png

 

Rob

 

View solution in original post

0 Kudos
4 Replies
ErwinSoekianto
Esri Regular Contributor

@rob_hewy 

 

This seems like a bug, can you help us submit this as an official defect through Esri Technical Support so that we can track it? 

 

Thank you,

Erwin. 

0 Kudos
rob_hewy
New Contributor III

Hi @ErwinSoekianto ,

Will do.

The site below or another?

https://support.esri.com/en/

 

0 Kudos
rob_hewy
New Contributor III

I tried adding 

autoTransform: true

For the main photo

  • File: AttachmentViewer/views/IdentifyView.qml
  • Line: 717 Image{id: image2}

For the thumbnail:

  • File: AttachmentViewer/views/MediaTabDelegate.qml
  • Line 43: Image{id:thumbnail}

Seemed to help,

rob_hewy_0-1612249563746.pngrob_hewy_1-1612249576954.png

 

Rob

 

View solution in original post

0 Kudos
rob_hewy
New Contributor III

On second thought:

File: AttachmentViewer/views/IdentifyView.qml
Line: 336 Image{id: itemImage}

0 Kudos