facebook

How to keep the aspect ratio of an image in p and l mode?

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #324637 Reply

    marco_muc
    Member

    Dear support team,

    I am new to MobiOne and trying to develop my first web app.

    Unfortunately I am not able to find a solution to keep the aspect ratio of an image in portrait and landscape mode. I already tried all options regarding auto-size.

    In my Case I would like to have an almost full-size image (480×256) in landscape mode and the same image with same aspect ratio in portrait mode (=320×170) when I turn the iPhone. What can I do?

    Thank you very much in advance for your help and best regards from Germany,

    Marco

    #325392

    louisoneal
    Member

    Was this topic ever answered with a example?

    #327313

    marco_muc
    Member

    I still have no answer how to keep the aspect ratio of an image.

    Please help! It’s urgent!

    For example, if I place an image with a size of 360×360 in Nexus S and change the device to 7″ what settings need to be done that the image is resized automatically to 450×450? MobiOne never keeps the aspect ratio, it always changes to 450×475, regardless of the auto resize properties.

    Thanks a lot in advance!

    #330334

    appmos
    Member

    I’m having the same problem the same problem. Any solution?

    #330382

    I’m not sure this will help, however this is how I am displaying images in one of my apps using the HTML widget.

    See the attachment, I count not figure out how to post the source without getting a message board error.

    If you are on android you can see this working in my app…

    https://play.google.com/store/apps/details?id=mobione.airportwx&feature=search_result#?t=W251bGwsMSwyLDEsIm1vYmlvbmUuYWlycG9ydHd4Il0.

    Attachments:
    You must be logged in to view attached files.
Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: How to keep the aspect ratio of an image in p and l mode?

You must be logged in to post in the forum log in