# Image zoom-in/zoom-out

**URL:** <https://techcommunity.softwareag.com/t/image-zoom-in-zoom-out/102326>\
**Category:** Forum\
**Tags:** mobile\
**Created:** [January 21, 2013, 9:56am UTC](https://techcommunity.softwareag.com/t/image-zoom-in-zoom-out/102326 "2013-01-21T09:56:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [January 21, 2013, 9:56am UTC](https://techcommunity.softwareag.com/t/image-zoom-in-zoom-out/102326/1 "2013-01-21T09:56:32Z")

</div>

Hi All,

We having a requirement to display a large image in Mobile App, size : 800x900 px.

We want to know how to we can use zoom in/zoom out features.

Regards  
Vageesh Shadakshari  
Global Consulting Servies - India  
SoftwareAG | Bangalore

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [January 21, 2013, 10:26am UTC](https://techcommunity.softwareag.com/t/image-zoom-in-zoom-out/102326/2 "2013-01-21T10:26:32Z")

</div>

I think I am right in saying this: Pinch and Zoom on large images is not currently a feature within Mobile Designer (it is on the suggested features list but there is no time of arrival as of yet). Of course, when it does arrive we need to consider carefully how it is implemented on BlackBerry, or other non-touchscreen devices.

You could of course write custom code for each platform to achieve this, but one thought crossed my mind: What would happen if you displayed a large image in a web view? Does that get you some level of zoom and pan? Might be worth trying.

You could always use on screen controls to pan and zoom the image (similar to how Google Maps does it). Although this would be somewhat cumbersome.

Thanks, Glenn.  
(Mobile Designer Development Team)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [January 21, 2013, 10:56am UTC](https://techcommunity.softwareag.com/t/image-zoom-in-zoom-out/102326/3 "2013-01-21T10:56:32Z")

</div>

Thanks Glenn,  
In fact we are running out of time to do any custom imeplementation,  
I tried out using the nUIWebView, it doesn’t load anything with the  
Phoney simulator.  
Used following code,

nUIWebView webView = new nUIWebView(FloorPlanView.NUIID\_FLOORPLAN\_VIEW);  
webView.setURL(“[http://vmvash01.eur.ad.sag:8585/meta/default/content/000](http://vmvash01.eur.ad.sag:8585/meta/default/content/000)  
0005668?username=administrator&password=manage”);

URL points to an image on an internal server.

I also tried to put hard coded html text but nothing works  
nUIWebView webView = new nUIWebView(FloorPlanView.NUIID\_FLOORPLAN\_VIEW);  
String html = “” +  
“Test” +  
“

# Hello world
” +  
“”;  
webView.setHTMLText(html);

Please suggest

Regards  
Vageesh Shadakshari

---

<div class="post-metadata">

**Author:** ![Mark\_Reynolds](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/mark_reynolds/32/37321_2.png) [@Mark\_Reynolds](https://techcommunity.softwareag.com/u/Mark_Reynolds)\
**Post date:** [January 21, 2013, 11:01am UTC](https://techcommunity.softwareag.com/t/image-zoom-in-zoom-out/102326/4 "2013-01-21T11:01:32Z")

</div>

Hi Vageesh,

Phoney does not support the nUIWebView and nUIWebviewElement  
currently; you’ll have to run your build on your target handset or in  
the simulators for that platform to see it working.

Your code looks fine to me.

Regards,  
Mark.  
(Mobile Designer Development Team)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [January 22, 2013, 11:46am UTC](https://techcommunity.softwareag.com/t/image-zoom-in-zoom-out/102326/5 "2013-01-22T11:46:07Z")

</div>

Thanks Mark and Glenn, web view worked perfectly.  
We added a web view with URL pointing to an image and zoom in zoom out works seamlessly on iOS and Android.

Regards  
Vageesh

---

<div class="post-metadata">

**Author:** ![Nana\_Klinton](https://avatars.discourse-cdn.com/v4/letter/n/dbc845/32.png) [@Nana\_Klinton](https://techcommunity.softwareag.com/u/Nana_Klinton)\
**Post date:** [November 5, 2013, 7:19am UTC](https://techcommunity.softwareag.com/t/image-zoom-in-zoom-out/102326/6 "2013-11-05T07:19:15Z")

</div>

Hi there  
For the image zooming in and out features.i am not so familiar with it.But i have tried a free trial from this [image zooming program](http://www.rasteredge.com/how-to/csharp-imaging/zoom-online/).It turns out to be a powerful one.But it’s a little bit expensive for me.So is there any cheap image program?It would be perfect if it is free to use

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:02pm UTC](https://techcommunity.softwareag.com/t/image-zoom-in-zoom-out/102326/7 "2021-04-02T15:02:52Z")

</div>


