File attachment types

Is something wrong? Do you have any suggestions? Let us know.
User avatar
EdLee
Honinbo
Posts: 8859
Joined: Sat Apr 24, 2010 6:49 pm
GD Posts: 312
Location: Santa Barbara, CA
Has thanked: 349 times
Been thanked: 2070 times

Post by EdLee »

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.
Kirby
Honinbo
Posts: 9553
Joined: Wed Feb 24, 2010 6:04 pm
GD Posts: 0
KGS: Kirby
Tygem: 커비라고해
Has thanked: 1583 times
Been thanked: 1707 times

Re:

Post by Kirby »

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?
be immersed
User avatar
EdLee
Honinbo
Posts: 8859
Joined: Sat Apr 24, 2010 6:49 pm
GD Posts: 312
Location: Santa Barbara, CA
Has thanked: 349 times
Been thanked: 2070 times

Post by EdLee »

Happy to, except it won't let me upload it here. :)
Kirby
Honinbo
Posts: 9553
Joined: Wed Feb 24, 2010 6:04 pm
GD Posts: 0
KGS: Kirby
Tygem: 커비라고해
Has thanked: 1583 times
Been thanked: 1707 times

Re: File attachment types

Post by Kirby »

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).
be immersed
Bill Spight
Honinbo
Posts: 10905
Joined: Wed Apr 21, 2010 1:24 pm
Has thanked: 3651 times
Been thanked: 3373 times

Re: File attachment types

Post by Bill Spight »

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: ;)
The Adkins Principle:
At some point, doesn't thinking have to go on?
— Winona Adkins

Visualize whirled peas.

Everything with love. Stay safe.
User avatar
EdLee
Honinbo
Posts: 8859
Joined: Sat Apr 24, 2010 6:49 pm
GD Posts: 312
Location: Santa Barbara, CA
Has thanked: 349 times
Been thanked: 2070 times

Post by EdLee »

The 5-letter ID takes a bit of digging... :)
Kirby
Honinbo
Posts: 9553
Joined: Wed Feb 24, 2010 6:04 pm
GD Posts: 0
KGS: Kirby
Tygem: 커비라고해
Has thanked: 1583 times
Been thanked: 1707 times

Re: File attachment types

Post by Kirby »

EdLee wrote:The 5-letter ID takes a bit of digging... :)
umich
be immersed
Kirby
Honinbo
Posts: 9553
Joined: Wed Feb 24, 2010 6:04 pm
GD Posts: 0
KGS: Kirby
Tygem: 커비라고해
Has thanked: 1583 times
Been thanked: 1707 times

Re: File attachment types

Post by Kirby »

Thanks for sending the attachment, EdLee. I tried uploading here, and it seems to work?
FullSizeRender.jpg
FullSizeRender.jpg (19.2 KiB) Viewed 23721 times
I used the "Upload attachment" feature, and then used "Place inline". Are you using a different process?
be immersed
User avatar
EdLee
Honinbo
Posts: 8859
Joined: Sat Apr 24, 2010 6:49 pm
GD Posts: 312
Location: Santa Barbara, CA
Has thanked: 349 times
Been thanked: 2070 times

Post by EdLee »

Hi Kirby, same process but on an iphone5, Safari.
Kirby
Honinbo
Posts: 9553
Joined: Wed Feb 24, 2010 6:04 pm
GD Posts: 0
KGS: Kirby
Tygem: 커비라고해
Has thanked: 1583 times
Been thanked: 1707 times

Re: File attachment types

Post by Kirby »

Using iPhone SE this time.
FDDC6E96-8C4B-4CAE-B036-C4D7AD7DE226.jpeg
FDDC6E96-8C4B-4CAE-B036-C4D7AD7DE226.jpeg (20.15 KiB) Viewed 23702 times
I'll try harder to see if I can find a way to reproduce this behavior..
be immersed
Kirby
Honinbo
Posts: 9553
Joined: Wed Feb 24, 2010 6:04 pm
GD Posts: 0
KGS: Kirby
Tygem: 커비라고해
Has thanked: 1583 times
Been thanked: 1707 times

Re: File attachment types

Post by Kirby »

68ED2B9B-65DD-4749-9EC9-15167C5E1CA8.png
68ED2B9B-65DD-4749-9EC9-15167C5E1CA8.png (209.87 KiB) Viewed 23656 times
4770CDAD-E239-4024-80A8-699B53197F3E.jpeg
4770CDAD-E239-4024-80A8-699B53197F3E.jpeg (179.55 KiB) Viewed 23656 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:
be immersed
Kirby
Honinbo
Posts: 9553
Joined: Wed Feb 24, 2010 6:04 pm
GD Posts: 0
KGS: Kirby
Tygem: 커비라고해
Has thanked: 1583 times
Been thanked: 1707 times

Re: File attachment types

Post by Kirby »

Currently on iOS 11.4 - maybe that's more important than the phone model.
be immersed
User avatar
EdLee
Honinbo
Posts: 8859
Joined: Sat Apr 24, 2010 6:49 pm
GD Posts: 312
Location: Santa Barbara, CA
Has thanked: 349 times
Been thanked: 2070 times

Post by EdLee »

iOS 10.x
xela
Lives in gote
Posts: 652
Joined: Sun Feb 09, 2014 4:46 am
Rank: Australian 3 dan
GD Posts: 200
Location: Adelaide, South Australia
Has thanked: 219 times
Been thanked: 281 times

Re: File attachment types

Post by xela »

Is it possible to upload animated GIFs here? I've got a 20-frame animation I want to share, size 4.1Mb. When I try to upload the file it looks as though it's working OK, but after about 30 seconds I get an error message saying "The image file you tried to attach is invalid." Have I hit a size limit (and if so, what exactly is the limit?), or is it a different problem?
Post Reply