Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - Upload Image of Recipe Displays Wrong Orientation #4681

Open
5 of 6 tasks
ChipSkylark37 opened this issue Dec 4, 2024 · 3 comments
Open
5 of 6 tasks

[BUG] - Upload Image of Recipe Displays Wrong Orientation #4681

ChipSkylark37 opened this issue Dec 4, 2024 · 3 comments
Labels
bug Something isn't working triage

Comments

@ChipSkylark37
Copy link

First Check

  • This is not a feature request.
  • I added a very descriptive title to this issue (title field is above this).
  • I used the GitHub search to find a similar issue and didn't find it.
  • I searched the Mealie documentation, with the integrated search.
  • I already read the docs and didn't find an answer.
  • This issue can be replicated on the demo site (https://demo.mealie.io/).

What is the issue you are experiencing?

When creating a new recipe and inserting and/or replacing the image of the recipe from the iPhone camera, the orientation is not correct, specifically when taking a picture in 'portrait mode' it then shows rotated 90 and not how I took the picture.

Steps to Reproduce

  1. Create new recipe / Adjust existing recipe
  2. Edit Recipe
  3. Click 'Image'
  4. Click 'Upload'
  5. Click 'Take Photo or Video' (or Choose Existing Photo from Camera Roll)
  6. Take photo in 'Portrait / 'Upright' mode
  7. (wait for upload)
  8. image shows rotated 90 degrees.

HOWEVER, I take the image in landscape / sideways mode, it does correctly show how I expect and how I saw the image in the 'viewfinder' when taking the image.

Part of the problem, is that if I choose a Photo I already took, I dont really know how I took it originally (Portrait / Landscape) so I only really find out after the image has been uploaded and set as the new recipe image.

Please provide relevant logs

If log files are required, please let me know.

Mealie Version

Recent Nightly: 2adbe5a

Deployment

Docker (Linux)

Additional Deployment Details

One addition detail here is that if I use the 'I made this" button and upload an image, that has features to rotate, crop, save, etc BEFORE saving it and uploading it which seems like the easiest way to solve this problem vs direct replace without confirmation.

Though its more a possible feature request: Would it make sense that that feature exists for uploading images to the recipe itself, not the "I made this" section.

@ChipSkylark37 ChipSkylark37 added bug Something isn't working triage labels Dec 4, 2024
@ChipSkylark37
Copy link
Author

Any thoughts on this? I have tried changing the photo of a particular recipe a few times now and the photo always comes out sideways. I adjusted it in iOS to rotate but every time its uploaded it just goes sideways again.

@cwoodall21
Copy link

I also ran into this issue today. It happens when uploading a profile picture from iOS as well

@tommyalatalo
Copy link

Same thing here, photos taken with a phone camera end up in the wrong orientation sometimes, I'm guessing there is some issue or regression regarding image orientation metadata, because I don't remember this happening until recently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

3 participants