Wondering if this will always be free?  See why free is better.

Main Menu

Problem with image attachments in 2.0.19

Started by landyvlad, January 24, 2023, 10:36:48 AM

Previous topic - Next topic


A user reported as follows:
QuoteWhen one uploads a new topic with a picture that is too big an error message is generated.
(So I) Resize the picture and try and up load again and message report 'You've already tried"!
Surely, it should allow a 'good' upload if the last was rejected.
So one must start a new topic again and then it is accepted! How frustrating is that!

I assume the image he is initially trying to upload is a huge file from a mobile phone.

I have the following attachment settings:
  Maximum attachment folder space  (0 for no limit) 0
  Maximum attachment size per post (0 for no limit) 2048 kB
  Maximum size per attachment (0 for no limit) 1024 kB
  Maximum number of attachments per post (0 for no limit) 10

I am also using the mod: Automatic Attachment Rotation (and Resize) by @dougiefresh and @GL700Wing
which I have set to reduce large images to max 1024x1024 pixels, to reduce file size.

I don't think it's anything to do with the mod though - seems like some strange behavior from SMF itself when it comes to handling image attachments.

Any ideas / thoughts / advice?
"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.


Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Sir Osis of Liver

"You've already tried" is not a core error message, maybe from the mod, but I've never seen it.  What's your upload_max_filesize in php settings?
"The best laid schemes o' mice an' men / Gang aft a-gley." - Robert Burns