<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Why is my profile picture rotated 90 degrees?</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=112205821" />
  <subtitle>Why is my profile picture rotated 90 degrees?</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=112205821</id>
  <updated>2026-04-04T05:33:27Z</updated>
  <dc:date>2026-04-04T05:33:27Z</dc:date>
  <entry>
    <title>RE: Why is my profile picture rotated 90 degrees?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112150852" />
    <author>
      <name>Javier Gamarra</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112150852</id>
    <updated>2019-02-02T16:48:59Z</updated>
    <published>2019-02-02T16:48:59Z</published>
    <summary type="html">Hi!&lt;br /&gt;&lt;br /&gt;Some phones have the default camera in landscape, you can check the orientation (are you sure that is 0 in all the devices?) and rotate it in the onUserPortraitLoadReceived listener. There is some code to rotate in the rotateImage method under UserPortraitService.</summary>
    <dc:creator>Javier Gamarra</dc:creator>
    <dc:date>2019-02-02T16:48:59Z</dc:date>
  </entry>
  <entry>
    <title>Why is my profile picture rotated 90 degrees?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112205820" />
    <author>
      <name>Alejandro Carrillo</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112205820</id>
    <updated>2019-02-01T22:51:07Z</updated>
    <published>2019-02-01T22:51:07Z</published>
    <summary type="html">Hello, I have a detail using screenlet profile on android, on some devices rotate the photo 90 degrees, do you know how I can correct that? I already tried taking the orientation with ExifInterface but it is not possible because it always returns a 0 &amp;#34;zero&amp;#34;.</summary>
    <dc:creator>Alejandro Carrillo</dc:creator>
    <dc:date>2019-02-01T22:51:07Z</dc:date>
  </entry>
</feed>
