Enlarged photo too large on mobile app

1
Using a  hybrid mobile offline profile, we have the default image viewer to show images. When a user clicks/taps to enlarge it, it enlarges it way out of proportion and doesn't take account the mobile screen. There doesn't seem to be any option to limit it. Additionally, pinch to zoom in/out doesn't work either.   Is there a way to mitigate this? Or a way to display larger images without this issue?
asked
2 answers
0

Hello Jim,

To control the enlarge image add this below CSS in the custom.css

.mx-imagezoom { background-color: #000;}

img.mx-imagezoom-image { width: 100%;  height: auto;}

for pinch in & out, we also trying to find a solution.

answered
0

Does this widget still work? https://appstore.home.mendix.com/link/app/65122/Mendix/Image-viewer

It’s not the default image viewer, but I believe it should suit your needs.

answered