dzenbot / DZNPhotoPickerController

A photo search/picker for iOS using popular image providers like 500px, Flickr, Instagram, Giphy, Google & Bing Images
https://www.cocoacontrols.com/controls/dznphotopickercontroller
MIT License
1.51k stars 266 forks source link

Landscape images #124

Open nissivm opened 8 years ago

nissivm commented 8 years ago

When dealing with landscape images: Zoom max is not enough and, when you pan the image, it moves too far away, almost disappearing from screen. With portrait images everything is fine.

Environment: iOS 9, my app works only in portrait, crop size = screen size

Thank you

dzenbot commented 8 years ago

Yeah, that's a long standing bug.

internalG commented 8 years ago

Any solution? It seems we need to calculate the space for photo to bounce. I'm surprised that the contacts app can do this easily but leaves so many to developers.

dzenbot commented 8 years ago

Right?! Me too. I haven't had time or the need for my projects to implement this. Any contribution is very welcome!

internalG commented 8 years ago

Thanks for your great work. I find another repo that deals with it well, https://github.com/ruslanskorb/RSKImageCropper. But it has a lot of image process that looks a little big for DZNPhotoPickerController/Editor. So it depends on the use case to judge where to go.