Databases Reference
In-Depth Information
phpMyAdmin can detect the presence of the correct GD2 library, but this detection
takes some time, and takes place not once per session but on almost every action
taken in phpMyAdmin.
Setting the
$cfg['GD2Available']
parameter in
config.inc.php
to its default
value,
'auto'
indicates that a detection of the library's presence and version is
needed.
If we know that the GD2 library is available, settings
$cfg['GD2Available']
to
yes
will make execution quicker. If the GD2 library is not available, you are
recommended to set this parameter to no.
To find out which which GD2 library we have on the server, we can go to
phpMyAdmin's
Home
page and click
Show PHP information
. We then look for a
section titled
gd
and verify which version is identified.
The JPEG and PNG Libraries
Our PHP server needs to have support for JPEG and PNG images if we or our users want
to generate thumbnails for those types of images.
Memory Limits
On some PHP servers, the default value in
php.ini
for
memory_limit
is 8 MB. This
is too low for correct image manipulation. For example, in one test, a value of 11 MB
in
memory_limit
was needed to generate the thumbnail from a 300 KB JPEG image.
Search WWH ::
Custom Search