Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23522] Android: Portrait images get rotated using HTTPClient.

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionCannot Reproduce
Resolution Date2019-10-02T20:28:57.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
LabelsHTTPClient, ImageView, images, portrait
ReporterSuraj Datta
AssigneeUnknown
Created2016-06-07T14:44:07.000+0000
Updated2019-10-02T20:28:57.000+0000

Description

Attachments

FileDateSize
index.js2016-06-07T14:43:12.000+0000972
index.tss2016-06-07T14:40:52.000+0000110
index.xml2016-06-07T14:40:34.000+0000190
Screen Shot 2016-06-07 at 9.40.10 PM.png2016-06-07T15:41:39.000+0000178171
Screen Shot 2016-06-07 at 9.42.00 PM.png2016-06-07T15:43:56.000+0000857269
Screen Shot 2016-06-07 at 9.45.30 PM.png2016-06-07T15:45:57.000+0000153291

Comments

  1. Sharif AbuDarda 2016-06-07

    Hello, I can reproduce the issue that you are having in Android. The image does rotate to landscape view when using HTTPVClient call. But this only happens for your image link. I tried with other image link from google the image shows as expected. See my attachments. I believe there is something wrong with the way the image was uploaded. Is the image showing in landscape mode in the JIRA ticket where the image was uploaded? Regards, Sharif.
  2. Suraj Datta 2016-06-07

    Hello Sharif, On opening my image links on browser displays them in Portrait view. I think the issue is with larger dimension portrait images. I tried many larger images & facing the same problem. Earlier I've tried smaller dimensions portrait images & they were displayed fine. The images are captured from my IPad. Problem lies in Portrait view images that are captured. Thanks.
  3. Suraj Datta 2016-06-09

    Any solution for this ??
  4. Nazmus Salahin 2016-06-09

  5. Alan Hutton 2019-10-02

    Unable to reproduce. Axway Appcelerator Studio, build: 5.1.4.201909061933  macOS : 10.14.6 Node.js Version : 8.9.1 npm Version : 5.5.1 Appcelerator CLI : 7.1.1 Titanium CLI CLI Version : 5.2.1 node-appc Version : 0.2.49 Titanium SDKs : 8.2.0.GA Pixel 3 Android API 29

JSON Source