Photo Viewer streching image

Hi guys,

I’m working on a project where I have an interface that displays the user profile picture.

When you click on the profile picture, I’m using Photo Viewer to display it in fullscreen.

The problem is that the image gets streched in both orientations.

Is there way to avoid that? To set it to proportionally display the picture?

This is all the documentation I found.

2 Likes

Maybe this is what you want, or maybe not, but take a look: https://github.com/Riron/ionic-img-viewer

I figured the streching happens in a few devices, not sure what is going on.

I will check out this ionic-img-viewer.

Thanks, man.