Photo Viewer streching image


#1

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

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


#3

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.