Upload image in user profile

Questions and Answers : Web site : Upload image in user profile

Reply to this thread
Subscribe to this thread
Sort
AuthorMessage
[B^S] Zain Upton
Joined: Jun 11, 2007
Posts: 1
ID: 41
Credit: 0
RAC: 0
Message 6 - Posted 20 Jun 2007 9:01:25 UTC

A little thing that I thought I would mention cause I noticed it... not because I think it is important in anyway.

When you create a member profile the process DIES if you try and upload a picture. Fine with just text in the boxes, include a picture dies.

For the record my pic is small enough in dimensions and size (exactly same pic as used as all other BOINC Projects).

Likely some file permission problem (or maybe a library issue to create the thumbnail)... hmmm.

Zain

[B^S] Paul@home
Avatar
Joined: Jun 11, 2007
Posts: 3
ID: 45
Credit: 0
RAC: 0
Message 8 - Posted 20 Jun 2007 9:02:33 UTC
Last modified: 20 Jun 2007 9:09:35 UTC

Well Zain, I guess you can type faster than me!!

Paul.

Ron Parker
Forum moderator
Project administrator
Project developer
Avatar
Joined: Mar 27, 2007
Posts: 14
ID: 1
Credit: 1,232
RAC: 13
Message 16 - Posted 20 Jun 2007 16:26:37 UTC
Last modified: 20 Jun 2007 16:35:54 UTC

This has been fixed. Feel free to upload your profile images. The gory details follow.

Hmm, my first thought was that it would have been a permissions issue as well. However, the Apache error log showed that imageCreateFromJPEG() was undefined.

This machine runs CentOS 5 which is a community supported rebuild of Red Hat Enterprise Linux 5. CentOS and RHEL do not install the GD graphics library support for PHP by default.

So a simple

sudo yum install php-gd
sudo /usr/sbin/apachectl graceful

later and it all works now.

Thanks for reporting this issue.

Reply to this thread

Questions and Answers : Web site : Upload image in user profile



Return to SciLINC main page


Copyright © 2007 Missouri Botanical Garden
Written by Ron Parker