Life In 19x19
https://lifein19x19.com/

File attachment types
https://lifein19x19.com/viewtopic.php?f=14&t=222
Page 2 of 2

Author:  EdLee [ Fri Sep 21, 2018 12:58 pm ]
Post subject: 

Hi Kirby,

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.

Author:  Kirby [ Fri Sep 21, 2018 8:41 pm ]
Post subject:  Re:

EdLee wrote:
Hi Kirby,

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?

Author:  EdLee [ Fri Sep 21, 2018 9:01 pm ]
Post subject: 

Happy to, except it won't let me upload it here. :)

Author:  Kirby [ Sat Sep 22, 2018 5:24 am ]
Post subject:  Re: File attachment types

You can email it to me.

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).

Author:  Bill Spight [ Sat Sep 22, 2018 8:57 am ]
Post subject:  Re: File attachment types

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! :o Sounds like mathlish. :cool: ;)

Author:  EdLee [ Sat Sep 22, 2018 12:27 pm ]
Post subject: 

The 5-letter ID takes a bit of digging... :)

Author:  Kirby [ Sat Sep 22, 2018 1:47 pm ]
Post subject:  Re: File attachment types

EdLee wrote:
The 5-letter ID takes a bit of digging... :)


umich

Author:  Kirby [ Sun Sep 23, 2018 5:37 am ]
Post subject:  Re: File attachment types

Thanks for sending the attachment, EdLee. I tried uploading here, and it seems to work?

Attachment:
FullSizeRender.jpg
FullSizeRender.jpg [ 19.2 KiB | Viewed 1541 times ]


I used the "Upload attachment" feature, and then used "Place inline". Are you using a different process?

Author:  EdLee [ Sun Sep 23, 2018 2:51 pm ]
Post subject: 

Hi Kirby, same process but on an iphone5, Safari.

Author:  Kirby [ Sun Sep 23, 2018 5:46 pm ]
Post subject:  Re: File attachment types

Using iPhone SE this time.
Attachment:
FDDC6E96-8C4B-4CAE-B036-C4D7AD7DE226.jpeg
FDDC6E96-8C4B-4CAE-B036-C4D7AD7DE226.jpeg [ 20.15 KiB | Viewed 1522 times ]


I'll try harder to see if I can find a way to reproduce this behavior..

Author:  Kirby [ Sun Sep 23, 2018 5:55 pm ]
Post subject:  Re: File attachment types

Attachment:
68ED2B9B-65DD-4749-9EC9-15167C5E1CA8.png
68ED2B9B-65DD-4749-9EC9-15167C5E1CA8.png [ 209.87 KiB | Viewed 1524 times ]

Attachment:
4770CDAD-E239-4024-80A8-699B53197F3E.jpeg
4770CDAD-E239-4024-80A8-699B53197F3E.jpeg [ 179.55 KiB | Viewed 1524 times ]


I do notice that, on iPhome SE, just taking the screenshot gives me the file with png extension, but if I use the tool to crop, I get jpeg extension.

Seems I can upload both though :scratch:

Author:  Kirby [ Sun Sep 23, 2018 5:56 pm ]
Post subject:  Re: File attachment types

Currently on iOS 11.4 - maybe that's more important than the phone model.

Author:  EdLee [ Sun Sep 23, 2018 8:51 pm ]
Post subject: 

iOS 10.x

Page 2 of 2 All times are UTC - 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/