|
Joined: Aug 2006
Posts: 96 Likes: 1
Journeyman
|
Journeyman
Joined: Aug 2006
Posts: 96 Likes: 1 |
OK. So change to setting less than or equal to your php.ini setting for upload_max_filesize which must be >= than post_max_size integer. (Reference: PHP.net Reference) My php.ini is set to 8M by default for both upload_max_filesize and post_max_size integer. File sizes larger than that, say 12M, I would need to change both to 12M at least. Trade off would be larger files in storage and slower browser loading speeds. Got it.
I am a Superstar! Testing signature here
|
|
|
|
Joined: Apr 2004
Posts: 1,945 Likes: 145
|
Joined: Apr 2004
Posts: 1,945 Likes: 145 |
OK. So change to setting less than or equal to your php.ini setting for upload_max_filesize which must be >= than post_max_size integer. (Reference: PHP.net Reference) My php.ini is set to 8M by default. File sizes larger than that, say 12M, I would need to change both to 12M at least. Trade off would be larger files in storage and slower browser loading speeds. Got it. I dont think you quite understand how any of this works. The php.net item you referenced is regarding overall uploads that your website can accept, regardless of what you set within your forum software. The forum software settings will determine what the forum software will allow. This is a custom permission setting per each user group. And the upload will be limited to anything less-than or equal to your php setting. The image file attachment compression happens immediately after a user uploads their image file. If A user uploads an 8MB image file, and that file gets compressed to 300KB, the file gets stored as 300KB. It also gets displayed on the web pages as 300KB. There is nothing larger about it. The original file never gets stored, and because it never gets stored, it is never able to be displayed to any users on your web page. So there is no slower loading of pages or larger storage requirements.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
v7.6.1.1 will compress your image uploads. Prior to v7.6.1.1 the uploads would be the original "off the device" size. If you want to increase your allowed upload size any higher than the current PHP setting you will need to make sure that you increase both upload_max_filesize and post_max_size as they both affect uploads. The System Requirements Test script will report the current values of upload_max_filesize and post_max_size and will report the current maximum image size that you can use (which would be the lower of the two values). Personally, I have my forums configured to allow 8MB uploads so that my users can upload files from their phones and digital cameras. For reference, my Nexus 6 produces a 13MP photo at ~4-5MB which is compressed into an image file less than 1mb.
|
|
|
|
Joined: Feb 2007
Posts: 1,294 Likes: 2
Veteran
|
Veteran
Joined: Feb 2007
Posts: 1,294 Likes: 2 |
I have mine set at 32M so I didn't have to look up all the different devices and with all this new stuff coming out always bigger and better then the previous model will still work.
|
|
|
|
Joined: Dec 2008
Posts: 42 Likes: 3
Newbie
|
Newbie
Joined: Dec 2008
Posts: 42 Likes: 3 |
I'm considering the v7.6.1.1 upgrade. I see that I can adjust max memory size of images to be uploaded. Can I set image attachment uploads to be resized to a max memory size and max pixel size? I'm thinking 200k-250k and 800 x 600. Or is memory size the only factor that can be adjusted?
This sounds great!
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Gallery forums have always allowed compression, since they where first introduced; v7.6.1.1 now allows the same compression settings on post attachments.
|
|
|
|
Joined: Dec 2008
Posts: 42 Likes: 3
Newbie
|
Newbie
Joined: Dec 2008
Posts: 42 Likes: 3 |
In v7.6.1.1, I can set the post attachment image max pixel dimension in height and width and the compression level, as my current galleries are now? That would be wonderful.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
As those are a part of the compression settings, yes.
|
|
|
|
Joined: Dec 2008
Posts: 42 Likes: 3
Newbie
|
Newbie
Joined: Dec 2008
Posts: 42 Likes: 3 |
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
1 members (1 invisible),
831
guests, and
191
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|