Does anyone have an insight ito this problem? Could it be related to the fact I'm running this Moodle on a sub-domain??
Thanks
I also had a problem where none of my pictures would display. This was fixed when I followed the suggestion above but I´m mystified where the facility to upload button pictures has gone.
Is there a setting that I missed the second time?
Thanks,
Christos
I have in version 1.3.3. to settings for user picture:
- Current picture, with a button to delete it
- New picture with browse button
From the help file:
"If you don't see anything on your user profile pages to let you upload user images then it's usually because GD is not enabled on your server. GD is a library that allows image processing.
Make sure GD has been included in your PHP installation. You can check this by going into the Admin -> Configuration -> Variables page and looking for the gdversion setting.
This setting is chosen automatically every time you visit that page. If it shows GD version 1 or version 2 then everything should be fine. Save that configuration page and go back to your user profile.
If Moodle thinks GD is not installed, then you will need to install it. On Windows this is usually a matter of "turning on" the module in PHP (see the installation instructions for help). On Unix you may need to re-compile PHP with arguments something like this (note the ones in bold):
./configure --with-apxs=/usr/local/apache/bin/apxs --with-xml --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-ttf --enable-gd-native-ttf --enable-magic-quotes --with-mysql --enable-sockets --enable-track-vars --enable-versioning --with-zlib
Remember to re-visit the Moodle configuration page after making any changes to PHP so it can pick up the correct version of GD."
Christos
Very helpful - thanks.
By the way, could you let us know which hosting company has it right?
Thanks again.
Another thing that did not work at start was the ability for moodle to send e-mail to those registering. After our move to the new server the mailing function (SMTP server) is working fine.
So if you are having problems you can check if you hosting company have a server configured for what you need and ask to be moved there.
Christos
Hi Robert,
I just had the same problem. In my case, our system administrator upgraded the operating system on the server from Red Hat 9.0 to Red Hat Enterprise. Afterwards, old profile images displayed properly, but any newly uploaded ones displayed as black squares.
After a lot of frustration, I figured out what was the problem. The old operating system had version 1.x of the GD library installed, whereas the new OS has GD version 2.0. The solution was simple: went to the Administration Variables page, noted that Moodle detected GD version 2.0 and clicked on the "Save Changes" button.
Zig
Once I did this, profile pics loaded great.
We just upgraded from 1.8.2 to 1.8.4 and are having the same problem.
You say to login as Admin and go to Config, Variables... etc. however, I must be having a daft moment as I can't figure out where this is within Moodle settings. Or is this a server setting?
Thanks!
Susan
Update... OK I found the setting, but didn't seem to help. In fact, when I try to save changes on this admin page (http) I get the following error:
Some settings were not changed due to an error:
This value was not valid:Proxy port
Any ideas? And could this be the reason the user profile pics are not displaying? I was able to successfully upload a new profile pic.
My issue is that I uploaded a picture when I first edited my profile and it worked. But now, I have tried to upload a different picture and it keeps going back to my first picture. I've even deleted the first picture from my computer entirely!!!!! Why does it keep coming back????? What do I do so that my new picture will show?
Exactly how did you upload the new picture? I suspect that the picture you deleted is not the copy that Moodle uses, and I would not be too surprised if you are likewise uploading the new picture to the wrong directory, rather than using Moodle itself to replace the picture. Oh, one more thing. In my experience, when you change the profile picture in Moodle, it doesn't take effect right away. I don't recall exactly when it did for me, but I think if you restart your database server, your web server, and Moodle, it will show the new profile picture (assuming it was uploaded properly!).
EDIT: I just went to the picture upload page in my Moodle, and clicked the help button. It said it should suffice to do a reload (refresh) in your browser to get the new picture to appear in your profile.
RLE
All I can think of is: there is a meta HTML tag, or HTTP header, that can be included in or with a web page that will prevent browsers from caching that page, so you always get the latest version of it and shouldn't have to refresh it. But as far as I know, there is nothing like that for individual images. I could be mistaken.
Anyway, you should only have to do a refresh once after replacing your profile image; and most people don't do that very often, so it wouldn't be a major problem.
RLE
You haven't said what value you entered for Proxy port.
RLE