Announcement

#1 2012-06-22 15:13:28

bsc
Guest

2.4 thumbnails do not display

Hi All,
upgraded to piwigo 2.4 from 2.3.5 and thumbnails are no longer being displayed. 

if i copy the image link I get
http://site/i.php?/upload/2012/05/26/20120526144800-569c7da3-th.jpg

However when i ssh into my server this file does not exist?

in fact the directory 26 does not even exist?

Do I have to regenerate files?

Help please

thanks
Brian

 

#2 2012-06-22 15:15:33

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

Re: 2.4 thumbnails do not display

Hi bsc,

1) does directory upload/2012/05/26 exist?
2) does directory _data/i/upload/2012/05/26 exist?

What is your graphical library? (it is written on the administrion home page)

Offline

 

#3 2012-06-22 15:18:48

bsc
Guest

Re: 2.4 thumbnails do not display

Hi
the directory upload/2012/05/26 does exist

the directory _data/i/upload/2012/05/26 does exist

and my graphical library is
Graphics Library: External ImageMagick 6.2.8

 

#4 2012-06-22 15:20:41

bsc
Guest

Re: 2.4 thumbnails do not display

forgot to add, while the directories do exist, there is no files ending in *-th.jpg in the directory. There is however a thumbnail folder?

 

#5 2012-06-22 15:31:53

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

Re: 2.4 thumbnails do not display

If you open directly in your browser http://site/i.php?/upload/2012/05/26/20120526144800-569c7da3-th.jpg is there any error message?

Offline

 

#6 2012-06-22 15:32:19

bsc
Guest

Re: 2.4 thumbnails do not display

Also when I upload a new image from the admin panel, in addition to the thumbnail, the image itself does not display.

Brian

 

#7 2012-06-22 15:33:33

bsc
Guest

Re: 2.4 thumbnails do not display

that file does not exist on my server.

the errors when i go directly to that link are

Warning: fopen(./_data/i/upload/2012/05/26/20120526144800-569c7da3-th.jpg) [function.fopen]: failed to open stream: No such file or directory in /home/chinntec/public_html/gallery/i.php on line 343

Warning: fstat(): supplied argument is not a valid stream resource in /home/chinntec/public_html/gallery/i.php on line 345

Warning: Cannot modify header information - headers already sent by (output started at /home/chinntec/public_html/gallery/i.php:343) in /home/chinntec/public_html/gallery/i.php on line 346

Warning: Cannot modify header information - headers already sent by (output started at /home/chinntec/public_html/gallery/i.php:343) in /home/chinntec/public_html/gallery/i.php on line 349

Warning: Cannot modify header information - headers already sent by (output started at /home/chinntec/public_html/gallery/i.php:343) in /home/chinntec/public_html/gallery/i.php on line 351

Warning: Cannot modify header information - headers already sent by (output started at /home/chinntec/public_html/gallery/i.php:343) in /home/chinntec/public_html/gallery/i.php on line 352

Warning: Cannot modify header information - headers already sent by (output started at /home/chinntec/public_html/gallery/i.php:343) in /home/chinntec/public_html/gallery/i.php on line 361

Warning: fpassthru(): supplied argument is not a valid stream resource in /home/chinntec/public_html/gallery/i.php on line 363

Warning: fclose(): supplied argument is not a valid stream resource in /home/chinntec/public_html/gallery/i.php on line 364

 

#8 2012-06-22 15:35:47

wernfried
Member
2012-01-21
84

Re: 2.4 thumbnails do not display

I got excactly the same problem.

Grafikbibliothek: External ImageMagick 6.0.7

Ref to thumbnail:
<img src="i.php?/upload/2012/01/29/20120129134223-5ca456fc-th.jpg">

Folder /upload/2012/01/29 does exist
Folder _data/i/upload/2012/01/29 does exist

Kind Regards

Offline

 

#9 2012-06-22 15:37:08

bsc
Guest

Re: 2.4 thumbnails do not display

wernfried, does that file *-th.jpg exist on your server?

Have you tried uploading a new image?  I would be curious if it fails to display at all (this is what happens on my installation)

Brian

 

#10 2012-06-22 15:39:34

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

Re: 2.4 thumbnails do not display

Please send me (both of you) your URLs in private

Offline

 

#11 2012-06-22 15:40:34

wernfried
Member
2012-01-21
84

Re: 2.4 thumbnails do not display

bsc wrote:

wernfried, does that file *-th.jpg exist on your server?

Have you tried uploading a new image?  I would be curious if it fails to display at all (this is what happens on my installation)

No, the *-th.jpg does not exist. But as you I have a folder "thumbnail" containing all the images.
I also get the same error messages when I enter the URL directly.

Upload a new foto I will try this evening at home.

Regards
Wernfried

Offline

 

#12 2012-06-22 15:42:25

bkcorwin
Member
2010-12-13
52

Re: 2.4 thumbnails do not display

PLG,
Logged in now.  I have emailed you my gallery address

Brian

Offline

 

#13 2012-06-22 15:43:37

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

Re: 2.4 thumbnails do not display

We still have the directory upload/year/month/day/thumbnail but it is not used anymore. We haven't coded the removal to make the upgrade faster.

bsc wrote:

Also when I upload a new image from the admin panel, in addition to the thumbnail, the image itself does not display.

If the thumbnail is not generated, the medium size won't be generated. There seems to be a problem to generate multiple sizes.

Offline

 

#14 2012-06-22 15:44:59

rvelices
Former Piwigo Team
2005-12-29
1960

Re: 2.4 thumbnails do not display

Please could you
A. add to you local config (in the file local/config/config.inc.php):

Code:

<?php
$conf[enable_i_log'] = true;
?>

B. browse the gallery on some page where thumbnails do not display
C. look in _data/tmp/i.log file for a line with "ERROR" ... there is one ?

Eventually send a link to your gallery ...

Offline

 

#15 2012-06-22 15:46:05

bkcorwin
Member
2010-12-13
52

Re: 2.4 thumbnails do not display

Thank you rvelices.

I will try these things when I get home this evening.  For now I have emailed my gallery url to plg as well as a user account.

Brian

Offline

 

Board footer

Powered by FluxBB

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