Bild zoomen auf dem Handy

Frage:
Besteht die Möglichkeit auf dem Handy mit zwei Fingern ein Bild zu
Zoomen (Comman, Image)?

The question he’s asking (if your German is rusty) is this:

Is it possible to zoom an image on a phone using two fingers?

Have you tried the PictureBox_scrollAndZoom sample?

ja, genau das ist meine Frage

Have you tried the PictureBox_scrollAndZoom sample? Does it work?

ja, ich habe es versucht aber es funktioniert nicht!
Ich verwende aber nicht die PictureBox, sondern: “Common, Image”!
Das Problem gesteht noch immer.
Best Regards

Just tried the sample here - it works fine.

PictureBox has iScroll built into it, which is what allows it to zoom. The common Image control is much more lightweight. It does not have built in scrolling.

George
das Bild kann ich laden, aber das Zoon funktioniert nicht!
kannst du mir nicht den code zur Verfügung stellen?

Are you saying the PictureBox sample is not working for you? What device are you trying it on?

mit einem Samsung Galaxy Note 4

I tried it on a Galaxy S6. It did not work for me either.

I did some googling to see if anyone else was having similar problems in non-AppStudio apps. I found several references to similar issues, but without effective solutions.

I also tried the demo on iScroll’s site:

http://lab.cubiq.org/iscroll5/demos/zoom/

It also does not work. It does not look like this supported in iScroll. You might want to contact their support on this issue.

George, kannst Du mir nicht dein Beispiel mailen?
(dann bin ich auch sicher dass ich kein Fehler im Programm habe.
Ich möchte es auf einem iPhone ausprobieren!)

The sample I am using as already in AppStudio. Go into Open Samples and enter Zoom into the search bar.

George, Besten Dank für deinen Typ!!
Es funktioniert auch auf einem Samsung-Phone.
Man muss unter scroll_options folgendes eingeben:

bounce: false, disablePointer: true, disableMouse: true, disableTouch: false, zoom:true, scrollY: true, scrollX: true

dann funktioniert es bestens!!

Best regards
Hans

Thanks for the good news! The answer (in English) is:

George, my best thanks for your tip.
It also works on a Samsung phone. One must put the following into scroll_options:

bounce: false, disablePointer: true, disableMouse: true, disableTouch: false, zoom:true, scrollY: true, scrollX: true

That works best!