I have a problem when I try to upload photos with a rather big size.
(ex. 2500x1400)
I get no error message but no derivative is created:
http://www.audreyetjulien.fr/betatest/i … category/6
The only photos that can be seen are smaller (panoramic images)
Offline
What is your graphical library?
How much memory for PHP?
Offline
I don't know, how can I see this info?
Offline
Zaphod wrote:
I don't know, how can I see this info?
Graphical library : it is written in Piwigo administration homepage
Memory available : on Piwigo administration homepage, click on the "Show info" link next to PHP version and search "memory_limit" in the page.
Offline
I've got:
Bibliothèque graphique: External ImageMagick 6.6.0-4
Memory limit: 128M.
It's strange not to have a warning message or an error message.
Offline
Actually we can find some error message if you open http://www.audreyetjulien.fr/betatest/i … a93-th.jpg :
Warning: fopen(./_data/i/upload/2012/04/27/20120427113111-5b04ea93-th.jpg) [function.fopen]: failed to open stream: No such file or directory in /homepages/43/d277170417/htdocs/betatest/i.php on line 342
Warning: fstat(): supplied argument is not a valid stream resource in /homepages/43/d277170417/htdocs/betatest/i.php on line 344
Warning: Cannot modify header information - headers already sent by (output started at /homepages/43/d277170417/htdocs/betatest/i.php:342) in /homepages/43/d277170417/htdocs/betatest/i.php on line 345
Warning: Cannot modify header information - headers already sent by (output started at /homepages/43/d277170417/htdocs/betatest/i.php:342) in /homepages/43/d277170417/htdocs/betatest/i.php on line 348
Warning: Cannot modify header information - headers already sent by (output started at /homepages/43/d277170417/htdocs/betatest/i.php:342) in /homepages/43/d277170417/htdocs/betatest/i.php on line 350
Warning: Cannot modify header information - headers already sent by (output started at /homepages/43/d277170417/htdocs/betatest/i.php:342) in /homepages/43/d277170417/htdocs/betatest/i.php on line 351
Warning: Cannot modify header information - headers already sent by (output started at /homepages/43/d277170417/htdocs/betatest/i.php:342) in /homepages/43/d277170417/htdocs/betatest/i.php on line 360
Warning: fpassthru(): supplied argument is not a valid stream resource in /homepages/43/d277170417/htdocs/betatest/i.php on line 362
Warning: fclose(): supplied argument is not a valid stream resource in /homepages/43/d277170417/htdocs/betatest/i.php on line 363
Offline
rvelices notified
Offline
My feeling is that there is a combination of parameters that doesn't work with external imagick.
To confirm, can you change your settings to gd and see if it works any better?
Local configuration:
$conf['graphics_library'] = 'gd';
Offline
It works with GD (but I don't want to use GD - when there was no imageMagick in Piwigo I was resizing my photos myself before upload).
I don't think it's a paramter problem.
I think there is a direct link to the size of the image:
2500x758 -> OK
2500x1406 -> ko
2000x1125 -> OK
2000x1333 -> ko
Offline
ok. so it is a pure image magick issue. it's true we don't have any debugging possible with external image magick ...
we need to find a way and see why it fails ...
Offline
I just tested with Piwigo 2.3 and I had exactly the same limitations, so it's not new with 2.4.
The difference was that with piwigo 2.3 I resized the pictures with the upload (so if there was an error the photo was not uploaded).
And with Piwigo 2.4 I keep the original picture and I rely on the derivatives to display the size I want.
So the photo is there... but I can't see it.
I hosted with 1&1... maybe some other host service have less limitations on the use with imagemagick?
Offline
I am getting the following error in the configuration/resize images section.
Warning: Invalid argument supplied for foreach() in /home2/webi8726/public_html/.........../admin/derivatives.php on line 339
Warning: Cannot modify header information - headers already sent by (output started at /home2/webi8726/public_html/........../admin/derivatives.php:339) in /home2/webi8726/public_html/.........../include/page_header.php on line 120
The server I use is running 'Graphics Library: GD bundled (2.0.34 compatible)'
Any suggestions???
EDIT
I have just been informed that ImageMagick is installed on the server (at /usr/local/ImageMagick) - but in PIWI admin it shows that the GL used is GD.
The config file says that ImageMagick is used first if set to 'auto' (which it is), so why is PIWI using GD.
Thanks
Last edited by pewe (2012-05-07 18:55:10)
Offline
Tried the beta but no matter what I do, I only can get thumbnails to show. In batchmanager I did let Piwigo create all sizes of the images (10442 photos were generated), but when I click on the gallery again, nothing but thumbnails are shown. I can delete the selected sizes in multilpe sizes, but that only leaves me with a 140x... thumbnail.
Some site info: (http://www.stipvoorstip.nl/gallery
Using Piwigo 2.4.0RC3
Operating system: Linux
PHP: 5.2.9 (Show info) [2012-05-20 08:04:05]
mysql: 5.0.95-community [2012-05-20 08:04:05]
Graphics Library: External ImageMagick 6.0.7
Database
3775 photos (first photo added on Saturday 14 April 2012) <-- I deleted and reuploaded all images
44 albums including 44 physical and 0 virtual (3774 associations)
Memory limit is sit to 32Mb
Trying to go to one of the images by direct link:
Warning: fopen(./_data/i/galleries/Varia/Fiets/Postcodeloterijfiets-008-la.JPG) [function.fopen]: failed to open stream: No such file or directory in /home/bookieb/public_html/gallery/i.php on line 342
Warning: fstat(): supplied argument is not a valid stream resource in /home/bookieb/public_html/gallery/i.php on line 344
Warning: Cannot modify header information - headers already sent by (output started at /home/bookieb/public_html/gallery/i.php:342) in /home/bookieb/public_html/gallery/i.php on line 345
Warning: Cannot modify header information - headers already sent by (output started at /home/bookieb/public_html/gallery/i.php:342) in /home/bookieb/public_html/gallery/i.php on line 350
Warning: Cannot modify header information - headers already sent by (output started at /home/bookieb/public_html/gallery/i.php:342) in /home/bookieb/public_html/gallery/i.php on line 351
Warning: Cannot modify header information - headers already sent by (output started at /home/bookieb/public_html/gallery/i.php:342) in /home/bookieb/public_html/gallery/i.php on line 360
Warning: fpassthru(): supplied argument is not a valid stream resource in /home/bookieb/public_html/gallery/i.php on line 362
Warning: fclose(): supplied argument is not a valid stream resource in /home/bookieb/public_html/gallery/i.php on line 363
so it seems that the sizes have not been created at all.
Last edited by EdwinKort (2012-05-20 14:20:01)
Offline
This image resizing in 2.4 seems to be a problem for a few people, but so far no information is forthcoming as to what the problems may be - nor a proposed solution :-(
Offline
For the moment, I've put everything back to another gallery script, hoping to see 2.4 ready soon.
The other script is running on the same server and database, and is using GD
Graphics support: PHP GD library bundled (2.0.34 compatible)
where piwigo is using imagemagik
Last edited by EdwinKort (2012-05-21 23:08:46)
Offline