GD library

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
k4rtik's picture

Trying to upload a profile pic of huge size gives a blank screen.

I am using the 2.0beta13 version of OpenScholar and facing the following problem:

When I try to upload a profile pic of huge size (2.8 MB in my test) OS gives a blank screen. Apache error log suggests PHP memory limit gets exhausted. Uploading smaller size profile pics seems to work as usual.

I have 128 MB as the set memory limit for PHP, and GD needs about perhaps max of 10 MB of memory for its resize/crop etc. operation. Then what could be the reason for this behavior?

Read more
PierreMunck's picture

TUTORIAL: resolver el problema de imagerotate (php5-gd) en drupal 7

referencia : http://munck.fr/es/noticias/integrar-php5-gd-con-imagerotate-sin-recompi...

  1. Descargar la extensión gd.so desde http://munck.fr/sites/default/files/download/gd.so (compilado para php5-gd_5.2.6.dfsg.1-1+lenny8_i386, probado en lenny10_386)

  2. Hacer una copia de seguridad del archivo /usr/lib/php5/20060613+lfs/gd.so

  3. Reemplazar /usr/lib/php5/20060613+lfs/gd.so con el archivo descargado en el punto 1

  4. Bloquear la actualización de gd cuando usan apt-get upgrade :

    echo " php5-gd hold" | dpkg --set-selections
    Par desbloquear

Read more
GasmanDesign's picture

VPS help?

Hello,

Does anyone have experience in installing or enabling a GD library (php-gd-5.3.5-1.fc14.i686) on a virtual private server (VPS) with GoDaddy?

The server is Linux CentOS with a C-panel control panel.

The library is used by Drupal (PHP) for working with images. It's not enabled on this VPS. I tried a number of things along with their support guy and could not get it enabled.

Of course GoDaddy has it listed as one of the php libraries that are installed by default.

Any advice or help would be welcomed.

Thanks!

Corey
612.203.0728

Read more
Subscribe with RSS Syndicate content