Hmm, thanks. I thought we were past the 1980's DOS era where a filetype was determined by its extension ( which is easier to rename ), and not by its binary "header" bytes ( which is more involved to mess with ). Sigh.
I'm not trying to pass anything as anything else, as the steps show;
but it could be a 'bug' in iOS Photos...
( Looks like nobody else here has experienced this or tried to reproduce the steps on iOS... Oh, well. )
Hmm, thanks. I thought we were past the 1980's DOS era where a filetype was determined by its extension ( which is easier to rename ), and not by its binary "header" bytes ( which is more involved to mess with ). Sigh.
I'm not trying to pass anything as anything else, as the steps show;
but it could be a 'bug' in iOS Photos...
( Looks like nobody else here has experienced this or tried to reproduce the steps on iOS... Oh, well. )
Just followed the steps you gave to post this with my iPhone:
8EE69A38-41D9-4298-9EDB-2136F4428B54.jpeg (200.36 KiB) Viewed 214665 times
Seems to work. Although, the system seems to have saved the cropped file as a.jpeg. Phone is running iOS 12.
1. iOS Photos app: Crop a screenshot, save it to iOS "Photo Library"
2. L19 > Post Reply > Filename > tap "Choose File" button
3. iOS > iphone "Photo Library" > pick cropped photo from (1)
4. tap "Add the file"
5. Error message: Image file type mismatch: expected extension jpg but extension png given
Screenshot:
Could this be the issue? Maybe L19 is reading the header and confusing the new iOS format for PNG. Unfortunately, these features were changed with iOS 12. So, I couldn't experiment on my phone.
Just to be sure, how about try to email the screenshot to yourself, and see what the extension really is. If you're ambitious, maybe check to see what the header bytes say about the image type (e.g. http://pwet.fr/man/linux/formats/magic).
If it does turn out that L19 is incorrectly identifying the file's proper type, we could modify this, but this part of control is managed by php, and is not a configurable option through phpbb.
If I take a raw screenshot, it's .jpg, and I can upload it here OK.
But if I use iOS Photos to crop it, it's still .jpg, but I get the error message when I try to upload it. At least, the error message seems to be worded incorrectly: it says "extension jpg expected but extension png given".
But the cropped photo does have an extension .jpg.
If I take a raw screenshot, it's .jpg, and I can upload it here OK.
But if I use iOS Photos to crop it, it's still .jpg, but I get the error message when I try to upload it. At least, the error message seems to be worded incorrectly: it says "extension jpg expected but extension png given".
But the cropped photo does have an extension .jpg.
The checks for file extensions are handled in php, so it's hard for me to do much about it, because I don't have access to modify that configuration. Can you send me the cropped file so I can investigate further?
My email address is my last name, followed by the first letter in my first name, at the domain for the University of Michigan (5-letter university identifier followed by three letter education extension).
Kirby wrote:
My email address is my last name, followed by the first letter in my first name, at the domain for the University of Michigan (5-letter university identifier followed by three letter education extension).
OMG! Sounds like mathlish.
The Adkins Principle: At some point, doesn't thinking have to go on?
— Winona Adkins