Announcement

#61 2012-06-25 23:13:47

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

Re: 2.4 thumbnails do not display

Currently, you have GD, Imagick or External ImageMagick as graphics library?
How much memory for PHP? (on Piwigo admin homepage, click on the "show info" link next to PHP version and then search "memory_limit")

Offline

 

#62 2012-06-25 23:17:24

mandarin
Member
2012-01-12
20

Re: 2.4 thumbnails do not display

plg wrote:

mandarin wrote:

plg wrote:

Do you have a link to give us?

Here's the link: http://marmalade.techtangerine.com/pixe … capebreton

http://marmalade.techtangerine.com/pixe … 638-th.jpg tells me "dir create error". Can you make sure Piwigo can write in _data ? and in _data/i ?

I have checked via FTP and it seems Piwigo can write to these directories.

FYI, inside the the i folder, there is a subfolder named galleries, in which there is another subfolder named after the album, but it is completely empty.

Offline

 

#63 2012-06-25 23:20:49

skpManiac
Member
England
2012-02-15
140

Re: 2.4 thumbnails do not display

The memory_limit
is
64M

I changed the Graphics Library to GD as stated in one of your other posts, but I am not sure if its still that, I am trying everything I can - how can I find out?

Just seen it

•Graphics Library: GD bundled (2.0.34 compatible)

Last edited by skpManiac (2012-06-25 23:21:33)


Share & Enjoy

Offline

 

#64 2012-06-25 23:23:14

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

Re: 2.4 thumbnails do not display

mandarin wrote:

FYI, inside the the i folder, there is a subfolder named galleries, in which there is another subfolder named after the album, but it is completely empty.

Do you run suExec or suPHP?

Offline

 

#65 2012-06-25 23:24:21

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

Re: 2.4 thumbnails do not display

plg wrote:

mandarin wrote:

FYI, inside the the i folder, there is a subfolder named galleries, in which there is another subfolder named after the album, but it is completely empty.

Do you run suExec or suPHP?

and what are the exact permissions on _data/i/galleries and sub-folders? (I'm waiting for something like 600 or rwxr--r--d

Offline

 

#66 2012-06-25 23:24:29

mandarin
Member
2012-01-12
20

Re: 2.4 thumbnails do not display

mandarin wrote:

plg wrote:

http://marmalade.techtangerine.com/pixe … 638-th.jpg tells me "dir create error". Can you make sure Piwigo can write in _data ? and in _data/i ?

I have checked via FTP and it seems Piwigo can write to these directories.

FYI, inside the the i folder, there is a subfolder named galleries, in which there is another subfolder named after the album, but it is completely empty.

NOW HERE'S AN INTERESTING DEVELOPMENT....

I noticed that the i folder and its sub-folders were created by the webhost/Piwigo (Owner:web Group: web), and not me. So I deleted the i folder and recreated it from FTP. I also recreated the subfolder via FTP and now my gallery is working!

Such things have often happened with other installations as well (such as the web analytics tool Piwik) and I wonder whether it is in some way related to PHP safe mode. Only the developers may know the answer.

Offline

 

#67 2012-06-25 23:29:22

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

Re: 2.4 thumbnails do not display

mandarin wrote:

[...] PHP safe mode [...]

Even if it is planned for removal by PHP developers, I will give a try with Piwigo in PHP Safe mode

Offline

 

#68 2012-06-25 23:54:14

skpManiac
Member
England
2012-02-15
140

Re: 2.4 thumbnails do not display

Even though I have added that i.log code
the display reference shows this


// enable log for i derivative script
$conf['enable_i_log'] = false;

Is that normal?

Sorry I cant be more helpful with this :/


Added

I have managed to upload another photo to the Commissioned section, but any I put in Portraits & Studio are rejected, so I thought maybe the ampersand (&) was the issue but its not - this just gets stranger :/

Last edited by skpManiac (2012-06-26 00:57:19)


Share & Enjoy

Offline

 

#69 2012-06-26 06:10:42

Peter Keegan
Guest

Re: 2.4 thumbnails do not display

I commented out the line

   //$this->add_command('sampling-factor', '4:2:2' );

in

/admin/include/image.class.php

And all of the image sizes were generated

 

#70 2012-06-26 10:58:04

summerborn
Guest

Re: 2.4 thumbnails do not display

Hello,
I have the same problem and gd workaround fixed the issue.
I enabled the i.log and tried the commands from there on the command line:

2012-06-26T11:51:43+03:00 convert "/home/user/public_html/piwigo/galleries/EURO2012/RUSCZE/IMG_6189.jpg" -filter Lanczos -resize 144x108! -strip -quality 95 -interlace line -sampling-factor 4:2:2 "/home/user/public_html/piwigo/_data/i/galleries/EURO2012/RUSCZE/IMG_6189-th.jpg"
2012-06-26T11:51:43+03:00 perf IMG_6189.jpg 1600 1200 1920000 IMG_6189-th.jpg 144 108 15552 0.9 725 | 442   0   281 0



user@host [~/public_html/piwigo]# convert "/home/user/public_html/piwigo/galleries/EURO2012/RUSCZE/IMG_6189.jpg" -filter Lanczos -resize 144x108! -strip -quality 95 -interlace line -sampling-factor 4:2:2 "/home/user/public_html/piwigo/_data/i/galleries/EURO2012/RUSCZE/IMG_6189-th.jpg"
convert: invalid argument for option `4:2:2': -sampling-factor.

user@host [~/public_html/piwigo]# perf IMG_6189.jpg 1600 1200 1920000 IMG_6189-th.jpg 144 108 15552 0.9 725
-jailshell: perf: command not found
user@host [~/public_html/piwigo]#

 

#71 2012-06-26 11:01:39

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

Re: 2.4 thumbnails do not display

"perf" is not a command line but a detailed summary of performances for resize.

This is highly interesting:

convert: invalid argument for option `4:2:2': -sampling-factor.

What is your version of ImageMagick?

Code:

convert --version

Offline

 

#72 2012-06-26 11:38:10

summerborn
Guest

Re: 2.4 thumbnails do not display

Hello,
too old version:
convert --version
Version: ImageMagick 6.2.8 05/08/12 Q16 file:/usr/share/ImageMagick-6.2.8/doc/index.html
Copyright: Copyright (C) 1999-2006 ImageMagick Studio LLC


Allready opened a ticket with the hosting company, but would appreciate any workaround (except the gd) if possible for temp use of this version of imagemagick.
Thanks!

 

#73 2012-06-26 11:42:01

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

Re: 2.4 thumbnails do not display

summerborn wrote:

Allready opened a ticket with the hosting company, but would appreciate any workaround (except the gd) if possible for temp use of this version of imagemagick.
Thanks!

just do [Forum, post 131408 by Peter Keegan in topic 19680] 2.4 thumbnails do not display

Offline

 

#74 2012-06-26 12:14:29

summerborn
Guest

Re: 2.4 thumbnails do not display

Thank you very much indeed! :)
Now chaissing the hosting company :)

 

#75 2012-06-26 14:33:35

rvelices
Former Piwigo Team
2005-12-29
1960

Re: 2.4 thumbnails do not display

Ok we have now a guilty parameter - bizarre is that output of convert should be logged in i.log but obviously it does not work ...

Offline

 

Board footer

Powered by FluxBB

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