Mindless, if you're around...
When I upload images (that seem to appear in the file system) the refreshed page is blank. When I go back to the album (or whichever page) that displays thumbnails or full images - they are blank. There are no images visible on my site.
Could this be related to a memory restriction of 8mb - the current (and seemingly unchangable) policy of Globat.com?
----
Gallery URL (optional):
Gallery version:
Webserver (with version):
Datatabase (with version):
PHP version (eg 4.2.1):
phpinfo URL (optional):
Graphics Toolkit(s):
Operating system:
Web browser/version:
G1 version (for migration bugs):
Posts: 32509
full size images should be visible. if just resized / thumbnail versions are not there, then possible there are issues with creating these resized versions. but the full sized images are just the images you added to an album.
after adding an image to the album, can you find the image in the g2data directory?
Posts: 36
the pictures are there in g2data. it's strange. you can have a look if you like:
unphotogallery.org/main.php - no images visible. i think it may well be related to the crap service provider, globat. but then again, i'm not sure. it's the strangest thing...
Posts: 8601
valiant, I checked the site and it is thumbs/resizes that are blank.. full size shows fine.
speckle, do "view image" in your browser on a thumb/resize.. then turn on immediate debug mode in config.php and reload the image in your browser..
Posts: 36
even after i specify view image on the browser i still can't see any image.
i took a look in g2data and the photos are there, but their corresponding thumbnails are not in the thumbnails folder. i guess this is due to an incomplete install? (if so, it's strange since all products seem to be well installed)
on the site i set debug to true.
also, i cannot delete images. whenever i try to, the page tries to refresh and sticks on a blank page. when i refresh, it remains blank.
Posts: 8601
it's not clear to me that you did this. try again, and look for any error messages in the debug output.
Posts: 36
i tried what you said but the problems persist:
1. cannot see thumbnails or full size images (thumbnails are not in the thumbnail folder but originals are in g2data)
2. deleting an album or image leaves a blank page, even on refresh. on immediate debug, the delete operation ends at :
GdToolkit::performOperation
no errors seem to be listed.
i've left the site on immediate debug. you can take a look (unphotogallery.org/main.php)
Posts: 8601
yes, immediate debug mode always breaks all image downloads.. we use it only in cases like this where we can't get buffered debug output.
anyway, seems like your Gd doesn't work too well.. php totally bails out trying to build thumbnails, resizes... as you mentioned, debug output just ends when Gd tries to perform an operation.
maybe try imagemagick or netpbm.. otherwise rebuild php/gd or debug why it is unable to perform Gd operations. good luck..
Posts: 36
Gd, NetPBM and ImageMagic modules are all successfully installed. i tried with all 3 image toolkits and none allow me to see the thumbnail.
The good news, however, is that now I can see the full size image... whereas before i could not. (i think this was a permissions problem on the g2data album folder).
problem summary:
no thumbnail generated.
when in 640x427 mode nothing shows
when in 768x512 mode, the full size image appears
(there are no error messages were shown in any debug mode. the checkbox is marked for generating them automatically on upload, but it doesnt work - and there is nothing inside the thumbnail folder.)
Posts: 8601
did you adjust toolkit priority in site admin? if not it's probably still trying to use Gd for everything (toolkit you activated first has highest priority by default)
Posts: 36
yes i did, but still no joy.
Posts: 154
same problem for me with thumbnails. I am using square thumbs, and imagemajic. When I disable square thumbs mod, thumbs show fine.
Posts: 8
I was expiriencing the same problem (only full sized images visible after upload). Temporary solution that works for me is uninstalling Gd graphic toolkit (using PHP version 4.3.4 with Gd 2.0.15 compiled as a module) and disabling the Square Thumbnail module...
Where exactly in site admin can I see/set the graphic toolkit priorities?
Posts: 32509
site admin, menu on the left side:
Admin Options
* Gallery
o General
o Modules
o Users
o Groups
o Members
o Registration
o User Albums
* Graphics Toolkits
o Ffmpeg
o ImageMagick
o NetPBM
o Toolkit Priority
IMO, we could refine the toolkit priority to specify a priority for each operation/formats. but there's no hurry for something like that.
Posts: 8
Thanks for your answer, valiant. It seems, that the "Toolkit Priority" menu item is visible only when multiple graphic toolkits installed (not my case - I have only Ffmpeg, ImageMagick and NetPBM). Sorry for my stupid question.
Posts: 8601
if imagemagick and netpbm are both active then you should see toolkit priority.
Posts: 8
Somehow ImageMagick did not appear in the priority table. I assume it was because of my wild, unsupported upgrade Alpha3->Beta1. To correct this it was neccessary to uninstal and install ImageMagic, now it's all right (but did not solve the problem with blank images).
Posts: 8601
to get back to speckle who started this topic.. now that you have imagemagick or netpbm as top toolkit, retry the immediate debug test i described before and see what error message you get now (look for "Executing" in the debug output).
Posts: 36
I did that and there is no "executing"in the verbose. In addition, there are no error messages.
FYI:
Gallery URL: http://www.unphotogallery.org/main.php
Gallery version: 2.0-beta-1
Web Server: Apache/1.3.29 (Unix)
PHP version: 4.3.6
Database: mySql, version 4.0.13
Operating system: FreeBSD
There are no images saved in the g2_ThumbNails table.
Posts: 8601
you didn't mention the behavior has changed... (not "blank images after upload" anymore, is it?)
it appears nothing is able to determine the image size.. viewing fullsize of your image does not show the dimensions, so it thinks it is 0x0..
g2_Thumbnails is for thumbnail manager, actual thumbnails are in g2_DerivativeImage
Posts: 8601
oh, that's because you started a new topic for fullsize-thumbs problem.. i'm marking this one solved.
Posts: 36
ok