1.4 MB Maximum Attachment Photo Sizes

AA Ford Discussion Group relating to the repair and restoration of your AA Ford.
Post Reply
User avatar
Neil Wilson
Posts: 3062
Joined: February 5th, 2003, 9:42 pm
Body Type: 82-A/89-A
Model Year: 1930
Location: Boulder, CO
Contact:

1.4 MB Maximum Attachment Photo Sizes

Post by Neil Wilson »

This is the second replacement of my prior statement based on my 6/8/18 post below (the original limit was 504 KB, then 994 KB, and now 1.4 MB):

In testing different photo sizes allowed on this forum, I find that the photo file size of 1.4 MB can be used.
I found I could add the file five times. When adding it for the 6th time, nothing happens.

file size = 1.4 MB

I could add five files at 1.4 MB
Attachments
Dual High oil dip stick 1c.jpg
Dual High oil dip stick 1c.jpg (1.39 MiB) Viewed 10440 times
Last edited by Neil Wilson on June 8th, 2018, 6:32 am, edited 4 times in total.
Regards, Neil Wilson
______________________________________
aafords.com@gmail.com - use this email for contact
https://aafords.com/
User avatar
mikeg
Site Admin
Posts: 179
Joined: January 15th, 2003, 4:08 pm
Body Type: 150B
Model Year: 1930
Location: San Juan Islands, Washington
Contact:

Re: 504 KB Maximum Attachment Photo Sizes

Post by mikeg »

The limit is actually 1Mb, so not sure why you can only attach a 504Kb file. 3 images is the limit for an individual post.
aaforums-attachments.PNG
aaforums-attachments.PNG (8.45 KiB) Viewed 10696 times
User avatar
Neil Wilson
Posts: 3062
Joined: February 5th, 2003, 9:42 pm
Body Type: 82-A/89-A
Model Year: 1930
Location: Boulder, CO
Contact:

Re: 504 KB Maximum Attachment Photo Sizes

Post by Neil Wilson »

mikeg wrote:
May 30th, 2018, 6:36 am
The limit is actually 1Mb, so not sure why you can only attach a 504Kb file. 3 images is the limit for an individual post
Mike,
The information displayed in your post is showing the maximum file size is 1 MiB not MB. An Internet search of "MiB" was not helpful (Greek to me). From most user's perspective "MiB" has no meaning. And, I don't see a way to access the information you have shown? It must be only available to admins? Is there a way to use the drop down to pick "MB" or "KB" as the file size.

1 MB would be 1000 KB. So, that would mean a file size of 1000 KB would be accepted. I tested attaching a photo larger than 504KB and get a message that the file is too large???????????????

Also, it looks like the number is files could be changed to allow more attachments. A few more would be helpful.
Regards, Neil Wilson
______________________________________
aafords.com@gmail.com - use this email for contact
https://aafords.com/
Stakebed
Posts: 1223
Joined: June 14th, 2007, 7:29 pm
Body Type: Grainbox
Model Year: 1929
Location: Illinois

Re: 504 KB Maximum Attachment Photo Sizes

Post by Stakebed »

1 MiB = 1024 KB

https://en.wikipedia.org/wiki/Mebibyte

i learned something today too :P essentially its the binary version of the x10^6 suffix "mega" so MiB stands for "mebibyte".

Still strange for a website setting lol.

And yes Mikes screenshot is of the website settings that us pesants cannot see.

But yes if its set to 1 MiB it should allow a pic up to 1024Kb (or just over 1 MB)...

EDIT:

i just ran into this problem too - pic uploader would accept a 323KB pic but not a 612kb pic. Status had a yellow triangle next to it and said failed to move file...Both are/were .JPGs...

Mike - do you have a max image size set too low and max file size set too high so they are interfering with most pics? (meaning file size is below the 1MB but pic size is above max pic size so it wont upload)
User avatar
mikeg
Site Admin
Posts: 179
Joined: January 15th, 2003, 4:08 pm
Body Type: 150B
Model Year: 1930
Location: San Juan Islands, Washington
Contact:

Re: 504 KB Maximum Attachment Photo Sizes

Post by mikeg »

The lower case 'i' is what is confusing the terminology. The forum software is a bit unusual in that respect, also the default language is UK English so that may be why the size terms are a bit off.

The end result is pretty much the same, 1 MiB is 1024 KiB, or 1,048,576 Bytes, or 1MB.

One mebibyte (MiB) is 2 / 20th power, i.e. 1024 × 1024 bytes, or 1048576 bytes. Despite its official status, the unit mebibyte is not commonly used even when reporting byte counts calculated in binary multiples, but is often represented as megabytes. Formally, one megabyte denotes 1000 × 1000 bytes.
file_options.png
file_options.png (7.74 KiB) Viewed 10635 times
I'm not enforcing size limits at all, other than when a thumbnail is generated (and what it's size in pixels would be).
image_restrictions.PNG
image_restrictions.PNG (22.37 KiB) Viewed 10635 times
Stakebed
Posts: 1223
Joined: June 14th, 2007, 7:29 pm
Body Type: Grainbox
Model Year: 1929
Location: Illinois

Re: 504 KB Maximum Attachment Photo Sizes

Post by Stakebed »

hmm weird. Like i said i had issues uploading a 612kb jpg file yesterday but not a 323kb file. Had to shrink the 612 file to under 500 for it to work.

Theres no weird settings for different file types are there? (like jpg, bmp, etc)

I see in your max file size if set to zero is limited by your php config - is that the issue? Is the php limiting on top of what you set it?
User avatar
mikeg
Site Admin
Posts: 179
Joined: January 15th, 2003, 4:08 pm
Body Type: 150B
Model Year: 1930
Location: San Juan Islands, Washington
Contact:

Re: 504 KB Maximum Attachment Photo Sizes

Post by mikeg »

Stakebed wrote:
June 1st, 2018, 5:57 am
hmm weird. Like i said i had issues uploading a 612kb jpg file yesterday but not a 323kb file. Had to shrink the 612 file to under 500 for it to work.

Theres no weird settings for different file types are there? (like jpg, bmp, etc)

I see in your max file size if set to zero is limited by your php config - is that the issue? Is the php limiting on top of what you set it?
PHP limit isn't a factor, I've got it set to 20MB. The default php file upload limit is 2MB if you don't have it set explicitly. I'll run some tests this weekend and see what comes up.
User avatar
mikeg
Site Admin
Posts: 179
Joined: January 15th, 2003, 4:08 pm
Body Type: 150B
Model Year: 1930
Location: San Juan Islands, Washington
Contact:

Re: 504 KB Maximum Attachment Photo Sizes

Post by mikeg »

Ok, here's an interesting thing.

Figured what the heck and would set the image size to 2048 KiB (2MB) and see what happens.
After I save the config the software shows the setting at 2 MiB.

I did increase the number of images per post to 5.
Stakebed
Posts: 1223
Joined: June 14th, 2007, 7:29 pm
Body Type: Grainbox
Model Year: 1929
Location: Illinois

Re: 504 KB Maximum Attachment Photo Sizes

Post by Stakebed »

tEST PICs:

1.2mb file FAILED
714KB file was accepted
863kb file was accepted
1MB file FAILED
947KB file was accepted

Looks like its better but still wont take 1MB but will take 947KB. (pic is of the factory water pump out of my 95 s10 with 215K miles on it)
Attachments
WP_20161023_11_09_27_Pro 90.jpg
WP_20161023_11_09_27_Pro 90.jpg (946.71 KiB) Viewed 10610 times
User avatar
Neil Wilson
Posts: 3062
Joined: February 5th, 2003, 9:42 pm
Body Type: 82-A/89-A
Model Year: 1930
Location: Boulder, CO
Contact:

Re: 994 KB Maximum Attachment Photo Sizes

Post by Neil Wilson »

mikeg wrote:
June 1st, 2018, 7:46 am
Ok, here's an interesting thing.

Figured what the heck and would set the image size to 2048 KiB (2MB) and see what happens.
After I save the config the software shows the setting at 2 MiB.

I did increase the number of images per post to 5.
file size = 994 KB attached
file size = 1040 KB failed

I could add five files at 994 KB

So, it looks like the maximum file size is now 994 KB (or slightly more). In Photoshop, I can only set the pixel width/length. Maybe the UK English thinks 2048 KiB is closer to 1 MB :shock: But, there is likely a software error.

I am going to update the initial thread to the new maximums for others to see.
Attachments
AA131 29.02.03 p 994kb.jpg
AA131 29.02.03 p 994kb.jpg (993.76 KiB) Viewed 10589 times
Regards, Neil Wilson
______________________________________
aafords.com@gmail.com - use this email for contact
https://aafords.com/
User avatar
mikeg
Site Admin
Posts: 179
Joined: January 15th, 2003, 4:08 pm
Body Type: 150B
Model Year: 1930
Location: San Juan Islands, Washington
Contact:

Re: 994 KB Maximum Attachment Photo Sizes

Post by mikeg »

Neil Wilson wrote:
June 2nd, 2018, 3:34 pm
mikeg wrote:
June 1st, 2018, 7:46 am
Ok, here's an interesting thing.

Figured what the heck and would set the image size to 2048 KiB (2MB) and see what happens.
After I save the config the software shows the setting at 2 MiB.

I did increase the number of images per post to 5.
file size = 994 KB attached
file size = 1040 KB failed

I could add five files at 994 KB

So, it looks like the maximum file size is now 994 KB (or slightly more). In Photoshop, I can only set the pixel width/length. Maybe the UK English thinks 2048 KiB is closer to 1 MB :shock: But, there is likely a software error.

I am going to update the initial thread to the new maximums for others to see.
Yeah it's odd they would even use KiB or MiB in the first place! I'd like to move the forums to vbulletin, but there is no direct path from phpbb3 to vb4 or vb5, but eventually I'll probably have to in order to keep my sanity. I am running a much larger forum on vbulletin 3.8 and it would be nice to only manage one forum software package!
Stakebed
Posts: 1223
Joined: June 14th, 2007, 7:29 pm
Body Type: Grainbox
Model Year: 1929
Location: Illinois

Re: 994 KB Maximum Attachment Photo Sizes

Post by Stakebed »

We appreciate your continuation of this forum and efforts to resolve this strange issue. I asked one of my IT techy friends what it may be and he chucked and thought phpBB forums were dead :oops: But as a crude work around if you set max upload to 3 MiB would it allow us to go past 1mb file size I wonder?
User avatar
mikeg
Site Admin
Posts: 179
Joined: January 15th, 2003, 4:08 pm
Body Type: 150B
Model Year: 1930
Location: San Juan Islands, Washington
Contact:

Re: 994 KB Maximum Attachment Photo Sizes

Post by mikeg »

Stakebed wrote:
June 3rd, 2018, 4:51 pm
We appreciate your continuation of this forum and efforts to resolve this strange issue. I asked one of my IT techy friends what it may be and he chucked and thought phpBB forums were dead :oops: But as a crude work around if you set max upload to 3 MiB would it allow us to go past 1mb file size I wonder?
phpBB should be dead, but it does keep on trucking along. Though every update I've had to run on this software never goes without a hitch, and I've been doing this Sysadmin thing for nearly 30 years! I rarely have issue with updating my vbulletin system, it is quite large with over 20k members and almost a million posts.

I may just have to bite the bullet and import phpbb3 to vb3, then move the vb3 system up to vb5. I've been working on my other forum to move it from vb3.8 to vb5 and it is quite the process (last test was 20 hrs to migrate the data).
User avatar
Neil Wilson
Posts: 3062
Joined: February 5th, 2003, 9:42 pm
Body Type: 82-A/89-A
Model Year: 1930
Location: Boulder, CO
Contact:

Re: 1.4 MB Maximum Attachment Photo Sizes

Post by Neil Wilson »

I just found that I can add five attachments with a file size of 1.4 MB. So, I am updating my original post.
Attachments
Dual High oil dip stick 1c.jpg
Dual High oil dip stick 1c.jpg (1.39 MiB) Viewed 10440 times
Regards, Neil Wilson
______________________________________
aafords.com@gmail.com - use this email for contact
https://aafords.com/
Post Reply