I am not able to update profile pictures for some reason. I am able to browse , select and click upload however the picture never shows up in the profile.
Any suggestions on where to start?
I am using:
moodle 1.9.7
mysql 5.1.22
apache 2.2.8
php 5.2.6
maybe I need to re-compile/install php?
Thanks in advance for any ideas......
cheers
Pat
What is the max size you can upload ?
Check ... and tell me..
I must be missing something simple in my config somewhere......
While poking around I found several images that have been uploaded in ~moodledata/user[1-4]000/<various>/ dirs....... they are just not visable in the page.....
Our file size and picture size are below the requirements and I have tired the refresh screen, delete cookies and even restart. I have even checked the database for some clue. Are you going to file a bug? Let me know if you find a solution.
I have a similar problem where I can delete a profile picture but when going back to upload a new picture it just loads the old one. I am not sure where the cache memory is. I logged out and in again but no luck. However it does work when I logged out of Firefox and in via Google Chrome - so maybe it is a cache memory problem within the browser for moodle.
All, if you are still having the issue with the profile pictures, please contribute to this tracker ticket by commenting and voting for it.
There are several possible reasons for these missing profile images - not just one issue that explains all cases. If you search the forums similar questions have been asked every year.
For example (not a complete list):
If users can upload image once but can't change it check that Administration > Security > Site policies > Disable User Profile Images is not checked
If users can upload images to subfolders of moodledata/user/0/ - and the files are there but are not shown the problem might be for example wrong value in Administration > Server > HTTP > Use slash arguments (can be checked or unchecked) or site config.php might have some white spaces.
If user images are not at all in subfolders of moodledata/user/0 the subfolders might miss write permissions or some server side limitation (number of folders etc) might prevent writing to profile picture folders - or creating of new folders.
Or for example both server and browser cache might keep the old images unchanged even if the new ones were uploaded.
THAT DID IT! I just un-checked the box and my profile pics came through! I have been trying to figure this out for two weeks and am glad to know it was such a small thing!
-Christy
Hi,
Sorry, I'm still a bit lost. Where can I find this Administration > Security > Site policies > and Administration > Server > HTTP > ?
Appreciate your enlightenment or from anyone.
Thanks heaps!
I have some users that can upload files and get replies that JPEG (GIF, etc.) is not supported by the server, while others have no problems at all. The files are uploaded, etc.
Hi,
I am unable to get the CURRENT PICTURE to show up in the Edit Profile page. In other words all users have the default smiley and when they go to EDIT profile there is no option for them to add a picture.
There has to be a setting in the Admin area to enable the option for users to be able to add their pictures???? Pls help!
Shariq,
Go to Admin > Security > Site Policies near the bottom there is an option to Disable User Profile Images the default is no so maybe you have the box checked, if so uncheck it. I have found that when you delete a user image sometimes it requires a few f5 refreshes of your screen or even a logout/in to clear the old image.
Cheers
Wheelie.
I added my symptoms to the tracker and, a few days later, added the fix that worked for me. Thought I should add those things here as well.
Here in student users were able to upload and display profile pictures but the Administrator or Course Creator could not. I checked and unchecked the slash dot argrument and verified that Admin>Security allows users to change is enabled, and the GD extension installed and enabled in PHP.
Our problem arose after an upgrade. The Admin and CC had profile pictures that displayed after the upgrade, but each used the delete option prior to selecting an alternate image. Then, only the Moodle default image would appear for them even though the image upload process appeared to work. I found that the Administrator's original profile image jpgs were in \moodledata\user\0\2 even though they would not display.
Eventually, I deleted the jpgs from the \moodledata\user\0\2 folder. Then, I was able to upload a new Administrator profile image through Moodle's Edit Profile interface and have the image display successfully. The key seemed to be deleting the existing image directly from the folder because the Edit Profile screen showed Current Picture as None so offered no Delete function.
Another thing I've noticed is that in order to change to a different profile image for any user, I have to Edit Profile, Delete the existing image, Update Profile, Edit Profile again to upload the new image, Update Profile, and then reload/refresh the Profile screen to display the new image.
We're running Moodle 1.9.9 on IIS 7.5 with PHP 5.2.12.
Hope this info helps someone along the way. Thanks to all who have taken the time to document their experiences. I've certainly benefitted from your efforts.
Hello,
You can find PHP information about PHP installation and configuration in this link:
http://php.net/manual/en/install.php
ed
Thank you all for the solution
i had to enable the gd extnsion for it to work.