Moodle Support

Uploading Photo

Picture of Jacklin Roeser
Uploading Photo
by Jacklin Roeser - Wednesday, June 6, 2012, 7:55 PM

I keep getting this message when I try to upload my photo  Invalid JSON String. 

Re: Uploading Photo
by Bb Open LMS/ Moodle Support - Thursday, June 7, 2012, 10:25 AM

 Hi Jacklin,

Make sure that your photo size is about 150 x 150 pixels. and te format be PNG or JPG.

Also make sure that you're selecting the image icon and not the mutlimedia icon. Please see below image.

Thank You.


Picture of Kerri Dunn
Re: Uploading Photo
by Kerri Dunn - Sunday, August 26, 2012, 3:43 PM

I am having the same problem for creating my profile. I have the correct size but it is still saying invalid JSON string. Please help!

Picture of Clayton Mitchell
Re: Uploading Photo
by Clayton Mitchell - Sunday, August 26, 2012, 5:19 PM

I expierenced the JSON error at the end of last semester. What I found was that I was logged into more than one Moodle site in the same browser. JSON must cache some information on the browser and when more than one moodle site is trying to write info down it gets confused. 

To fix this I simply use two different browsers for different sites. 

Hope this helps.

Picture of Ashley Hungerford
Re: Uploading Photo
by Ashley Hungerford - Sunday, August 26, 2012, 6:29 PM
You can alter your image size in the actual dialog box. When you add the image go to appearance and it has resizing options just type in 150X150 and uncheck the auto adjustment. Ashley
Patrick Lowenthal
Re: Uploading Photo
by Patrick Lowenthal - Monday, August 27, 2012, 10:27 AM

Are you still getting the same error or were you able to upload your image?