square thumbnails problem
spankee
Joined: 2004-06-12
Posts: 51 |
![]() |
When using the square thumbnails module the thumbnail is blank after upload until you go into edit pictures, only after will it show the thumbnail. The thumbail shows immediately using GD2. |
|
mindless
![]()
Joined: 2004-01-04
Posts: 8601 |
![]() |
what does "blank" mean? |
|
spankee
Joined: 2004-06-12
Posts: 51 |
![]() |
By "blank" I mean you cant see it, you only know a picture is there because the dropdown is below it and the mouse pointer changes. The picture doesnt show up until you enter "edit photo". |
|
mindless
![]()
Joined: 2004-01-04
Posts: 8601 |
![]() |
what happens if you right click and do "view image" ? |
|
spankee
Joined: 2004-06-12
Posts: 51 |
![]() |
No nothing just a blank page, and if I rightclick on that page and select "view page info", on firefox, it says the image is 1px by 1px. |
|
bharat
![]()
Joined: 2002-05-21
Posts: 7994 |
![]() |
Can you give us permissions to try adding a photo to your Gallery so that we can experiment with this and see if we can figure it out? Thanks. |
|
jamzyamz
![]()
Joined: 2004-01-12
Posts: 154 |
![]() |
This is the same issue I am having now. The problem (for me anyway) is with the square thumb mod. When activated it creates thumbs at 1*1 or full 100*100 but just white. Is it possible to somehow revert back to an older version of square mod, to test if it's something with newer version? |
|
buut
![]()
Joined: 2003-06-18
Posts: 196 |
![]() |
Same thing here... Gallery URL (optional): http://buut.demon.nl:8080/gallery30/gallery2/ |
|
jamzyamz
![]()
Joined: 2004-01-12
Posts: 154 |
![]() |
so that's at least three people with this problem? Anyone taking a look into this, or have some time to respond. |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
i installed the current cvs version 5h ago, square thumbs enabled and everything wroks fine (well, the square thumb was distorted) but it works fine. |
|
mindless
![]()
Joined: 2004-01-04
Posts: 8601 |
![]() |
buut, PM me ftp access to your server and i can take a look. |
|
mindless
![]()
Joined: 2004-01-04
Posts: 8601 |
![]() |
This may come down to running on a slow system. I tested on buut's server and got thumbnails to be created individually by doing "view image".. heavier server load when showing a whole album page caused more failures.. I did manage to get this error output from one image request: Error (ERROR_LOCK_TIMEOUT): * in file D:\path\to\gallery2\modules\core\classes\FlockLockSystem.class at line 288 (gallerystatus::error) * in file D:\path\to\gallery2\modules\core\classes\FlockLockSystem.class at line 90 (flocklocksystem::_acquirelock) * in file D:\path\to\gallery2\modules\core\classes\helpers\GalleryLockHelper_simple.class at line 196 (flocklocksystem::acquirewritelock) * in file D:\path\to\gallery2\modules\core\classes\GalleryCoreApi.class at line 1969 (gallerylockhelper_simple::acquirewritelock) * in file D:\path\to\gallery2\modules\core\classes\helpers\GalleryDerivativeHelper_advanced.class at line 681 (gallerycoreapi::acquirewritelock) * in file D:\path\to\gallery2\modules\core\classes\GalleryCoreApi.class at line 759 (galleryderivativehelper_advanced::rebuildcache) * in file D:\path\to\gallery2\modules\core\classes\helpers\GalleryDerivativeHelper_simple.class at line 63 (gallerycoreapi::rebuildderivativecache) * in file D:\path\to\gallery2\modules\core\classes\GalleryCoreApi.class at line 746 (galleryderivativehelper_simple::rebuildcacheifnotcurrent) * in file D:\path\to\gallery2\modules\core\DownloadItem.inc at line 117 (gallerycoreapi::rebuildderivativecacheifnotcurrent) * in file D:\path\to\gallery2\main.php at line 278 (downloaditemview::renderimmediate) * in file D:\path\to\gallery2\main.php at line 46 * in file D:\path\to\gallery2\main.php at line 39 buut and others with this problem.. 1) do some testing without square thumbnails and see if square thumbs module really is part of the problem. 2) try raising the default timeout for write locks (modules/core/classes/FlockLockSystem.class line 85, $timeout=10) and see if that helps. |
|
womacks
Joined: 2006-11-20
Posts: 1 |
![]() |
In my case the same problem appears to be caused by ImageMagick. GD and NetPBM work. Hope that helps. In Site Admin, set the Toolkit Priority list to have GD first (I have GD, NetPBM, then ImageMagick). I deleted and reimported my album (of typical jpegs) and the (square) thumbnails are no longer blank. ImageMagick made the thumbnails blank whether I created thumbnails during import or later in Site Admin. This bug is especially annoying since by default my installation had ImageMagick listed first, and a Google for the recommended order generally says "imagemagick, netpbm, gd". Note: I just created an Ubuntu 6.10 server w/ gallery2 and all its suggested packages (I have "universe" enabled) current as of today (Nov 19, 2006). I believe the package version of "imagemagick" is 7.6.2.4.5. |
|