ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

Implement zoom in the Slider

Open mhartington opened this issue 10 years ago • 44 comments

From @kitkimwong on December 27, 2015 10:23

i am using the example in : https://github.com/driftyco/ionic2/tree/master/ionic/components/slides/test/basic

And i want to pinch to zoom the image in the Slider so that i add the class ion-scroll-zoom in the slides. But it seems not work.

<ion-slides [options]="extraOptions" id="slider" style="background-color: black" class="ion-scroll-    zoom">
  <ion-slide *ngFor="#image of images">
    <img data-src="{{getImageUrl(image)}}" slide-lazy>
  </ion-slide>
</ion-slides>

Copied from original issue: driftyco/ionic2#816

mhartington avatar Jan 18 '16 23:01 mhartington

From @brandyscarney on December 28, 2015 15:42

This is not added yet, but the way to do it would be to add the zoom property to the ion-slides:

<ion-slides [options]="extraOptions" id="slider" zoom>

mhartington avatar Jan 18 '16 23:01 mhartington

From @kitkimwong on December 28, 2015 16:0

@brandyscarney I tested "zoom" with the example: https://github.com/driftyco/ionic2/tree/master/ionic/components/slides/test/basic

But it is not work, tested in android 4.4.4 and 5

mhartington avatar Jan 18 '16 23:01 mhartington

From @kitkimwong on December 28, 2015 16:11

Ok, thank you for your reply. Wait your team's good news.

mhartington avatar Jan 18 '16 23:01 mhartington

From @brandyscarney on December 28, 2015 16:13

:+1: I'm going to reopen this issue to get it added.

mhartington avatar Jan 18 '16 23:01 mhartington

will the zoom option also be added to v1 or will it only be available in v2?

FuzzyTree avatar Feb 18 '16 05:02 FuzzyTree

Zoom in slider is very important feature for apps that publish magazines. Is there any other way to enable pinch-to-zoom in ionic slider now? Maybe with ion-scroll? I try, but ion-scroll not seems to work as expected.

applecat avatar May 09 '16 09:05 applecat

Hello @applecat ! A fix for this issue is slated for the next release, beta.7. Thanks for using Ionic!

jgw96 avatar May 09 '16 15:05 jgw96

@jgw96 hi Justin ,when beta 7 will be available? Thanks

fer-ri avatar May 12 '16 03:05 fer-ri

@ghprod you can expect it soon (;

jgw96 avatar May 12 '16 14:05 jgw96

Hi. Beta 7 is ready, but It seems that zoom options has disappeared from the Slide component docs: http://ionicframework.com/docs/v2/api/components/slides/Slides/ Does this mean that there will be no zoom in ionic2 slider?

applecat avatar Jun 01 '16 10:06 applecat

Cannot get Zoom to work on anything, beta.7 or beta.8... Does anyone know how to get pinch to zoom working?

GavinHellyer avatar Jun 07 '16 18:06 GavinHellyer

Hello, I can't get the zoom as well. Is it included yet?

brightpixels avatar Jun 10 '16 17:06 brightpixels

Hello @brightpixels it is not included yet, but we do have it marked for beta.9 so you can expect it sometime soon unless something changes ( which does happen (: ) Thanks for using Ionic!

jgw96 avatar Jun 10 '16 21:06 jgw96

@jgw96 thanks. But I just had a look at beta.9 roadmap and I can't see it in the list: https://github.com/driftyco/ionic/milestones/2.0.0-beta.9. Am I looking in the right place to see the upcoming beta.9 features?

brightpixels avatar Jun 12 '16 00:06 brightpixels

Hey @brightpixels it is the last on the list on page two of the beta.9 milestone issues. You can also see that it's added to the milestone by looking on the right side of this page. Thanks!

jgw96 avatar Jun 12 '16 04:06 jgw96

Hello Is the zoom feature available now for slides?.

chandanch avatar Jun 22 '16 07:06 chandanch

I tried <ion-slide *ngFor="let sliders of imageforSliders" zoom> ........ but did not work, Is there any alternative for pinch & zoom?

chandanch avatar Jun 22 '16 07:06 chandanch

is it implemented now with beta.10 ? i can't see it in the docs.

nickwinger avatar Jul 09 '16 17:07 nickwinger

Really need zoom of image for Ionic2

arsenslyusarchuk avatar Jul 26 '16 12:07 arsenslyusarchuk

+1 I think this is like a "required" featured. Is there any other component (not including an external component) to perform this? I'm on beta 10 and it's still missing.

LufoX11 avatar Aug 11 '16 12:08 LufoX11