Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8548133
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T13:25:27+00:00 2026-06-11T13:25:27+00:00

I have a working JQM application that I’d like to display some images in.

  • 0

I have a working JQM application that I’d like to display some images in. The images currently are in their own iframe so they can be scrolled separately from the app.

I’d like to be able to pinch zoom only the images within the iframe as well.

I realize if I adjust the following code snippet that I can enable pinch zoom but this enabled it for the entire application.

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />

By removing maximum-scale pinch zoom returns but for everything.

Is there a way to enable pinch zoom only for an image? How about adding a new viewport tag to the iframe, would that work if that is even possible?

UPDATE

  • Injected HTML into the iframe. Added the meta tag, this did not help.

  • Tried .extend($.mobile.zoom, {locked:false,enabled:true}); on the iframe body, this did nothing.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T13:25:28+00:00Added an answer on June 11, 2026 at 1:25 pm

    It turns out the best way to do this is to use the ChildBrowser plugin. This on IOS and Android works perfect for images.

    IOS Childbrowser:

     https://github.com/purplecabbage/phonegap-plugins/tree/master/iPhone/ChildBrowser
    

    Android ChildBrowser:

     https://github.com/phonegap/phonegap-plugins/tree/master/Android/ChildBrowser
    

    Then once you have done all the setup you can open URL’s or local files like this:

     window.plugins.childBrowser.onLocationChange(location);
    

    Do note that in a fully cross platform setup between IOS and Android they both need different versions of the plugin. IOS requires ChildBrowser init in onDeviceReady, Android does not.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have an application in Grails 2.0 that we have working when we run
I have working web-application with applicationContext.xml in WEB-INF/config/applicationContext.xml. Now i need to implement some
I'm trying to reuse some script that I have working on another page, but
So, i've been working for some time at a phonegap+jqm application. I've been testing
I'm working on a JQM app and would like to have the user choose
I have working on mvc3 application. I want to know some specific answer about
I have working on navigation base application. my problem is that when i am
I have working registration script the only problem is that i do not know
I'm pretty new to NHibernate. I have working many to many mappings. they look
I have been working on a large java application. It is quite parallel, and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.