Since we don't get any errors messages... Ask them to have the capability to handle bigger picture. And if they are professional they will run their own test and/or propose you other hosting solutions
Offline
picturesize and memory_limit .... i think this was a topic for a FAQ
what is your memory_limit ? The GD Lib need a lot of RAM for working, here is a shorten output from a memory test script for GD on a server with memory limit 128MB
(eos 20d)
Loading image 3504x2336.jpg, size 3504 * 2336, bpp 8, channels 3... done
Memory usage: 39.94 MB
(eos 40d)
Loading image 3888x2592.JPG, size 3888 * 2592, bpp 8, channels 3... done
Memory usage: 48.99 MB
(eos 5d)
Loading image 4378x_2912.jpg, size 4378 * 2912, bpp 8, channels 3... done
Memory usage: 61.78 MB
(eos 50d)
Loading image 4752x3168.jpg, size 4752 * 3168, bpp 8, channels 3... done
Memory usage: 72.78 MB
(eos 5dII)
Loading image 5616x3744.jpg, size 5616 * 3744, bpp 8, channels 3... done
Memory usage: 101.32 MB
with ImageMagick Piwigo can convert (and generate thumbs an other sizes) files from my 5DII on a webspace with only 64MB memory-limit, without ImageMagick and GD lib only files from my old 20D/40D.
more about the problem with GD in much better english: http://alexrabe.de/2008/05/13/understand-gd-library/
solution a: more RAM
solution b.: ImageMagick
Offline
Hi,
My host company says:
---------------------------------------
We have raised upload_max_filesize and post_max_size value to 50MB. Please check phpinfo for more details.
http://www.dykkerhulen.dk/phpinfo.php
We noticed athat files are being uploaded to galleries folder.
Oct 17 13:38:00 server pure-ftpd: (dykkerhu@85.218.204.63) [NOTICE] /home/dykkerhu//public_html/billeder/galleries/newtest/IMG_4744.JPG uploaded (7915368 bytes, 461.43KB/sec)
Oct 17 13:38:04 server pure-ftpd: (dykkerhu@85.218.204.63) [NOTICE] /home/dykkerhu//public_html/billeder/galleries/newtest/IMG_4746.JPG uploaded (7995076 bytes, 437.15KB/sec)
Oct 17 13:38:16 server pure-ftpd: (dykkerhu@85.218.204.63) [NOTICE] /home/dykkerhu//public_html/billeder/galleries/newtest/IMG_4748.JPG uploaded (7269964 bytes, 462.99KB/sec)
Oct 17 13:38:20 server pure-ftpd: (dykkerhu@85.218.204.63) [NOTICE] /home/dykkerhu//public_html/billeder/galleries/newtest/IMG_4749.JPG uploaded (7638594 bytes, 457.51KB/sec)
------------------------------------------------
I have just tried to upload 4 new photos but still the same: http://piwigo.org/forum/post.php?tid=20581
In my admin area it say:
•Styresystem: Linux
•PHP: 5.2.17 (Vis info) [2012-10-19 12:08:05]
•mysql: 5.0.96-community [2012-10-19 12:08:05]
•Graphics Library: GD bundled (2.0.34 compatible)
but I have ImageMagick installed on the server:
root@server[~]# convert -version
Version: ImageMagick 6.7.8-8 2012-10-16 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP
Where in Piwigo do I change the patch to IM instead of using GD?
Offline
[Forum, post 135870 by beamar in topic 20513] Piwigo WILL NOT let me use ext magick, no matter what i do. but increasing upload_max_filesize and post_max_size is pointless. Again a super extra support from a hoster.
First try to use IM, then if it doesn't fix the problem, go back to you hoster and tell them the upload is NOT the problem
Offline
Ok, what is the pach to the confic file where the below codes are:
--------------------------
<?php
$conf['enable_i_log'] = true;
$conf['show_exif'] = false;
$conf['use_exif'] = false;
// Library used for image resizing. Value could be 'auto', 'imagick',
// 'ext_imagick' or 'gd'. If value is 'auto', library will be choosen in this
// order. If choosen library is not available, another one will be picked up.
$conf['graphics_library'] = 'ext_imagick';
// If library used is external installation of ImageMagick ('ext_imagick'),
// you can define imagemagick directory.
$conf['ext_imagick_dir'] = '/usr/local/bin/convert';
---------------------------
Is it this: /include/config_default.inc.php
I cant find a file just called config.php
Offline
use the plugin LocalFiles editor
Offline
hmmm the plugin LocalFiles editor dont work at my end!
it says:
<?php
/* Filen er ikke eksisterende, og vil blive skabt af LocalFiles Editor */
?>
Means The file does not exist, and will be created by localFiles editor */
Can you give me the path to the config.php file where the codes are in so I can change it.
Offline
GertK wrote:
hmmm the plugin LocalFiles editor dont work at my end!
it says:
<?php
/* Filen er ikke eksisterende, og vil blive skabt af LocalFiles Editor */
?>
Means The file does not exist, and will be created by localFiles editor */
Can you give me the path to the config.php file where the codes are in so I can change it.
Yes the files doesn't exists and yes the plugin will create with any content you want. Don't see a problem here
Offline
ok, i just dont know how this work. I have now add the below info in the box:
----------------
<?php
$conf['enable_i_log'] = true;
$conf['show_exif'] = false;
$conf['use_exif'] = false;
// Library used for image resizing. Value could be 'auto', 'imagick',
// 'ext_imagick' or 'gd'. If value is 'auto', library will be choosen in this
// order. If choosen library is not available, another one will be picked up.
$conf['graphics_library'] = 'ext_imagick';
// If library used is external installation of ImageMagick ('ext_imagick'),
// you can define imagemagick directory.
$conf['ext_imagick_dir'] = '/usr/bin';
?>
----------------
My host provider told me to use: $conf['ext_imagick_dir'] = '/usr/bin';
Is this correct?
My main page in admin area still say: •Graphics Library: GD bundled (2.0.34 compatible)
Offline
GertK wrote:
My host provider told me to use: $conf['ext_imagick_dir'] = '/usr/bin';
Is this correct?
Try rather
$conf['ext_imagick_dir'] = '/usr/bin/';
Offline
I have now changed in the LocalFiles Editor so the codes look like:
---------------------------------------
<?php
$conf['enable_i_log'] = true;
$conf['show_exif'] = false;
$conf['use_exif'] = false;
// Library used for image resizing. Value could be 'auto', 'imagick',
// 'ext_imagick' or 'gd'. If value is 'auto', library will be choosen in this
// order. If choosen library is not available, another one will be picked up.
$conf['graphics_library'] = 'ext_imagick';
// If library used is external installation of ImageMagick ('ext_imagick'),
// you can define imagemagick directory.
$conf['ext_imagick_dir'] = '/usr/bin/';
?>
---------------------------------------
On the admin front page it does still say:
---------------------------------------
•Graphics Library: GD bundled (2.0.34 compatible)
---------------------------------------
Its like the script cant find the ImageMagick.
What do I wrong?
How do I point the script to use: ImageMagick?
Offline
Just for the information, my host fixed the issue and send me the info:
---
The image binaries are in '/usr/bin'.
I went ahead and increased the php memroy limit to 128MB and now the pictures is visible.
---
So now everything loads fine.
Offline
Great
again a server side issue unfortunately
Offline