A G2 Thumbnail question

belinea

Joined: 2003-12-29
Posts: 49
Posted: Sun, 2005-06-19 10:32

I think G2 generates ALWAYS for each picture a new thumbnail when a User browses in the Gallerys. So G2 is very very very slow. Can I turn that off? A thumbnail should only cretaed once and not every time a user browse to the gallery.

Did I made a configuration mistake ???

<TYPE YOUR MESSAGE HERE, ENTER SYSTEM DETAILS BELOW>
<Please check the G2 FAQ (sticky topic in this forum) before posting!>
----

Gallery URL (optional):
Gallery version: Gallery2 Bingo
Webserver (with version): Apache2
Datatabase (with version): Mysql4
PHP version (eg 4.2.1): 4.3.11
phpinfo URL (optional):
Graphics Toolkit(s): ImageMagick
Operating system: Debian 3.1
Web browser/version: IE, FF
G1 version (for migration bugs):

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-06-19 11:32

No, G2 generates thumbnails and resized versions once and then stores it in the disk cache.

What are your system specs (RAM, CPU, ...)?

 
belinea

Joined: 2003-12-29
Posts: 49
Posted: Sun, 2005-06-19 11:40
valiant wrote:
No, G2 generates thumbnails and resized versions once and then stores it in the disk cache.

What are your system specs (RAM, CPU, ...)?

Intel(R) Xeon(TM) CPU 3.00GHz / 8GB (but a VIRTUAL Root-Server !!)

 
belinea

Joined: 2003-12-29
Posts: 49
Posted: Sun, 2005-06-19 11:52
valiant wrote:
No, G2 generates thumbnails and resized versions once and then stores it in the disk cache.

Where are these thumbnails saved?

I cannot find any thumbnails in "/var/www/g2d/albums/"

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-06-19 12:07

g2data/albums/ is for your original files
g2data/derivatives/ is for thumbs / resized versions. the directory structure is somewhat optimized (the subdirectory names are part of the itemId of the stored derivatives) and the files you'll find in there are not directly what you would expect. but these are actually images.

the specs sound quite good.
you should check top / uptime to check if the machine is constantly overloaded.
aqnd of course you could verify that G2 actually stores thumb/resizes in g2data/derivates/, but i don't think that this is the problem.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-06-19 12:08

maybe you should run site admin -> maintenance -> rebuild thumbs / resizes. once that task is finished, it shouldn't do any image operation on-the-fly anymore.

 
belinea

Joined: 2003-12-29
Posts: 49
Posted: Sun, 2005-06-19 19:10
valiant wrote:
maybe you should run site admin -> maintenance -> rebuild thumbs / resizes. once that task is finished, it shouldn't do any image operation on-the-fly anymore.

I think this helped. :D

Many thanks