Enlarged photo too large on mobile app

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?
2 answers

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.


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.