Support Forum

Error 105 and 106 preventing users from attaching images

AL a_creative_life
a_creative_life
Member

Some of my members are having problems attaching images to their posts (and since most of them are visual artists, and we use the forum to share our work, this is a big problem).

I thought it might be a file size issue, but I just got the following note from a user:

I tried reducing the size of my images to only about 60K each, and I still get the following error message:
smallGabrielJPG.JPG: Error 105 – Invalid file type
smallMichael.JPG: Error 105 – Invalid file type
 
They are JPGs. I’m not sure what more to do??

Any suggestions? I’m really stumped. Could it be the use of capital letters in the file name??

Thanks,
Melissa

11 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Sounds like you need to go to the File Uploads admin panel (in Components) and check all those settings. It IS case sensitive so ‘jpg’ is not the same as ‘JPG’ – for example.

So make sure that you have all the file types you want to allow in the various lists. Check the size limitations imposed etc., and then see if that resolves the issues.

AL a_creative_life
a_creative_life
Member

Thank you, Yellow Swordfish! I changed the size limitations and added JPG and some other all-caps file types and let my users know.

I’m hopeful maybe this will solve the problem, and I’m very appreciative that now I know where to look to change the settings!

Thanks!

Melissa

MP Mr Papa
Mr Papa
Member

no worries, glad we could help.  please let us know if that gets it going for you…

AL a_creative_life
a_creative_life
Member

Good news and bad news:

Good news: one of my users was finally able to get her images uploaded.

Bad news: another user wrote that she tried another test with a photo of size of 63KB, which should be fine since I changed the maximum file size to approx 120KB, but she still got this error message:

IMG_0037.JPG:  Error 106 – Upload file size exceeds maximum allowed size.

Any suggestions?

Thanks,
Melissa

YS Yellow Swordfish
Yellow Swordfish
Member

What exact value have you put in the max size field on the admin panel?

MP Mr Papa
Mr Papa
Member

just to be sure, that value is on forum – components – file uploads… in the Image Files section… in the option

Maximum size (in bytes) of image files (0 = no limit)

The size check is working just fine – tested it again tonight… so a bit puzzled…  might be worth verifying she has the image size right…

AL a_creative_life
a_creative_life
Member

just to be sure, that value is on forum – components – file uploads… in the Image Files section… in the option

 

Yep, that’s the place. I have now removed ALL size limitations — we’ll see if that works. Meanwhile, I asked my user what the pixel dimensions are; perhaps it was bigger than what I had specified, though I won’t know until she writes back.

YS Yellow Swordfish
Yellow Swordfish
Member

Bearing in mind we rarely find out how knowledgeable our users are on any given subject then please excuse me if you are already expert in this wink

Pixel size (dimensions)  do not equate to file size (bytes). So if your users 63kb was based on width x height then this will be inaccurate.

The SP limitation is on file size which can cater for a wide range of maximum dimensions depending on the type of the image file, the amount of compression is has been subjected to, the complexity of the image etc.

AL a_creative_life
a_creative_life
Member

Yes, I’m aware of all that, though my users are not (thanks for your preface wink)

In this case, the user was finally able to upload her image after I removed all size limitations, but (thankfully) realized that an image size of 1935x2592px is not very useful for viewing online. rolleys It was a teaching experience for all involved, since I’m relieved to know that there was a very logical reason for the error (the pic really WAS too big!) I’m resetting some max size limits, and will know better for next time how to advise non-technically-inclined users. cool

(This user is going to stick with directing people to her Flickr stream when she wants to share an image. Whatever works!)

Thanks so much for your help with this issue!

YS Yellow Swordfish
Yellow Swordfish
Member

an image size of 1935x2592px is not very useful for viewing online

Well I just opened a ticket to get the popup help beefed up as it doesn’t really say anything that useful!

But… The file size setting has ultimate control of the size of the file that can be uploaded.

One the other hand – and understanding that file size does not equate to dimensions – the dimension settings can be set so that any upload within the file size constraints – but bigger than the dimension constraints – will be resized down to those dimension settings when it is saved.

Alternatively – if you want to allow people to upload images that are very big (in dimension) you can go to the forum admin > Options > Content Settings and set them to be constrained to the users available window size when displayed. This option does not resize the image for saving but simply resizes on display to fir the current viewers available real estate.

I hope that made sense!