Announcement

#1 2012-04-27 11:39:38

Zaphod
Former Piwigo Team
2006-11-13
441

[2.4.0RC2] Photos not shown

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

 

#2 2012-04-27 11:48:13

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: [2.4.0RC2] Photos not shown

What is your graphical library?
How much memory for PHP?

Offline

 

#3 2012-04-27 11:51:25

Zaphod
Former Piwigo Team
2006-11-13
441

Re: [2.4.0RC2] Photos not shown

I don't know, how can I see this info?

Offline

 

#4 2012-04-28 11:46:31

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: [2.4.0RC2] Photos not shown

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

 

#5 2012-04-28 16:56:56

Zaphod
Former Piwigo Team
2006-11-13
441

Re: [2.4.0RC2] Photos not shown

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

 

#6 2012-04-28 17:07:22

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: [2.4.0RC2] Photos not shown

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

 

#7 2012-04-28 17:07:38

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: [2.4.0RC2] Photos not shown

rvelices notified

Offline

 

#8 2012-04-29 06:30:10

rvelices
Former Piwigo Team
2005-12-29
1960

Re: [2.4.0RC2] Photos not shown

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:

Code:

$conf['graphics_library'] = 'gd';

Offline

 

#9 2012-04-29 09:38:29

Zaphod
Former Piwigo Team
2006-11-13
441

Re: [2.4.0RC2] Photos not shown

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

 

#10 2012-04-30 06:42:42

rvelices
Former Piwigo Team
2005-12-29
1960

Re: [2.4.0RC2] Photos not shown

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

 

#11 2012-05-04 22:21:44

Zaphod
Former Piwigo Team
2006-11-13
441

Re: [2.4.0RC2] Photos not shown

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

 

#12 2012-05-07 17:52:32

pewe
Member
2012-03-16
439

Re: [2.4.0RC2] Photos not shown

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

 

#13 2012-05-20 14:09:14

EdwinKort
Translation Team
Rhoon, the Netherlands
1970-01-01
95

Re: [2.4.0RC2] Photos not shown

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)


My Gallery
Hosted with: Surpass Hosting since 2004

Offline

 

#14 2012-05-20 14:46:30

pewe
Member
2012-03-16
439

Re: [2.4.0RC2] Photos not shown

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

 

#15 2012-05-21 12:17:19

EdwinKort
Translation Team
Rhoon, the Netherlands
1970-01-01
95

Re: [2.4.0RC2] Photos not shown

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)


My Gallery
Hosted with: Surpass Hosting since 2004

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact