I am trying to implement a photo browser that is similar to the one built in IOS for browsing album photos.
I could use ionic slide box, but the photos need to be full screen when viewed, scrollable AND zoomable. I am not sure how to make the images zoomable.
Any hints or a working example would be greatly appreciated.
After browsing the forums, I noticed that there are many similar requests from other users !! I am surprised that such a component is not implemented yet in the framework !!
Not quite like that. The user should be able to slide an image to view the next/previous image in full screen mode. In the same time, for each viewed image the user should be able to zoom in/out.
The best example for this is at the link given above for F7 (click on the photobrowser). It mimics the behaviour of the how photos are viewed in the IOS platform.
It is my opinion that this should be a component of the Ionic framework as any app that deals with pictures may need it.
Just few notes I have to add. When enabling pagination, it seems the paginator is placed underneath the bottom navbar. Is there any way to control where it can be placed in the template file (other than using css) ?
It may be very useful to place such an example in a more prominent place on the website.
Thanks for putting this together - it helped a lot! However, when I try to use this code, there seems to be a problem with scrolling while zoomed in. If I zoom in to an image and then try to scroll horizontally, it scrolls to the next slide without first scrolling completely to the edge of the zoomed in image. This makes it very difficult to view a zoomed in corner of an image.
I realize this uses an older version of the framework, so I also tried it with the Beta 14 and still the same problem.
Am I misinterpreting something? I would like to have the same behavior as the IOS photo browser. Specifically, I’m trying to be able to zoom in to an image and then scroll the entire image horizontally before scrolling to the next slide.
Been searching for some ionic implantation like F7 for a year and landed on this page like thousand times and here is my thought.
Though Ionic is just awesome in many ways,
The Pinch to Zoom example is just not up to my usual expectations for ionic in general.
it lacks the most important feature:
it does not “reduce” the gaps btwn the edges and a picture but rather “increase” them as you zoom on it.
the result is an zoomed-in photo floating and gone somewhere outside of the screen with BIGGER GAPS to the edges taking up most of the view.
I hated it so much, tried God knows how many tricks, turned to framework 7 photo browser, which has turned out to be a little difficult to integrate with ionic.
ANYBODY has come up with a better ionic solution?