- Posts: 12
Postings
You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).
Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!
Is this a LNEP behavior - rotated thumbnails
- mkonop
-
Topic Author
- New Member
-
Less
More
IP: 174.57.144.102
5 years 5 months ago #5452
by mkonop
Is this a LNEP behavior - rotated thumbnails was created by mkonop
A user submits data and a photo with RSForm Pro and it is displayed with LNEP. The problem is the thumbnail display. A iphone photo with a vertical orientation is incorrectly rotated 45 degrees counterclockwise. Horizontal photos are ok. Vertical photos saved from the web are displayed properly when submitted, so it seems only IPhone photos (I don't know about other phone cameras) display incorrectly.
The LNEP is linked to a full article with a hidden menu and the full image is displayed correctly regardless of orientation. Does this behavior come from LNEP or RSForm, and if it's LNEP is there a way to correct it?
Thanks in advance!
The LNEP is linked to a full article with a hidden menu and the full image is displayed correctly regardless of orientation. Does this behavior come from LNEP or RSForm, and if it's LNEP is there a way to correct it?
Thanks in advance!
- syw
-
- Administrator
-
Less
More
- Posts: 829
IP: 24.185.124.166
5 years 5 months ago #5453
by syw
Olivier.
Replied by syw on topic Is this a LNEP behavior - rotated thumbnails
Hello Marian,
LNEP gets the raw photo from the source. Photos taken from a phone may, well, be rotated because a picture can be taken in any camera orientation. RSForm will get the raw file, no matter the orientation. It has no way to tell that the content of the image is upside down for instance. It does not do any orientation change (as far as I know), nor does LNEP.
The orientation change has to be manually done by the user before submission to RSForm.
I don't have another solution for this use case...
LNEP gets the raw photo from the source. Photos taken from a phone may, well, be rotated because a picture can be taken in any camera orientation. RSForm will get the raw file, no matter the orientation. It has no way to tell that the content of the image is upside down for instance. It does not do any orientation change (as far as I know), nor does LNEP.
The orientation change has to be manually done by the user before submission to RSForm.
I don't have another solution for this use case...
Olivier.
- mkonop
-
Topic Author
- New Member
-
Less
More
- Posts: 12
IP: 174.57.144.102
5 years 5 months ago #5454
by mkonop
Replied by mkonop on topic Is this a LNEP behavior - rotated thumbnails
It seems its only the thumbnail that is rotated. I've attached two screenshots.
The first is an image taken with my IPhone and uploaded via RSForms and then displayed in a LNEP blog.
The image is incorrectly rotated.
The second is the same image taken with my IPhone and uploaded via RSForm and then displayed in a standard blog.
Also, the photo is in the correct orientation when looking at the RSForm submission list.
If the user rotates the photo prior to uploading, the thumbnail is correct but the photo in the content article is not.
Thanks again for considering this issue.
The first is an image taken with my IPhone and uploaded via RSForms and then displayed in a LNEP blog.
The image is incorrectly rotated.
The second is the same image taken with my IPhone and uploaded via RSForm and then displayed in a standard blog.
Also, the photo is in the correct orientation when looking at the RSForm submission list.
If the user rotates the photo prior to uploading, the thumbnail is correct but the photo in the content article is not.
Thanks again for considering this issue.
- syw
-
- Administrator
-
Less
More
- Posts: 829
IP: 24.185.124.166
5 years 5 months ago #5456
by syw
Olivier.
Replied by syw on topic Is this a LNEP behavior - rotated thumbnails
What I know for sure is that LNEP does NOT rotate images. It takes the raw image, crops it if needed and returns the thumbnail.
How is the image stored? Do you know where it is located? Is it in the media manager? If so, is it in the right orientation there?
How is the image stored? Do you know where it is located? Is it in the media manager? If so, is it in the right orientation there?
Olivier.
- syw
-
- Administrator
-
Less
More
- Posts: 829
IP: 24.185.124.166
5 years 5 months ago #5458
by syw
Olivier.
Replied by syw on topic Is this a LNEP behavior - rotated thumbnails
There is a way to detect rotated pictures, I will see if I can include this test before creating thumbnails and rotate the image in that case.
That will not work if no thumbnails are created and originals are used instead (when head width and height are set to 0).
That will not work if no thumbnails are created and originals are used instead (when head width and height are set to 0).
Olivier.
