[SOLVED] Recreating Thumbnails?

Danny

Joined: 2003-03-24
Posts: 90
Posted: Tue, 2004-12-21 22:03

Hi, how can I reacreate the Thumbnails in G2? I'm a long time Galley 1 user and switched this days to Gallery 2. The first days all worked fine, but starting today no Thumbnail will be shown.

Even not when I login as admin. I see from all pictures the Exif information, but the pictures are not seen. I don't think it is a permission problem, as I have seen, that the admin as full access. Also I have given my users access to "see all versions".

So, how can I reacreate the thumbnails?

Update: I have found the function to recreate the thumbnails in Album->edit Album, but when I tick the checkbox "recreate thumbnails" nothing happens when I go to save. What can I do else?

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2004-12-22 00:16

posting your url might help.
what graphics toolkit are you using? is the module activated? does the "Test Settings" button for the graphics toolkit still work? (maybe it was ok before but the binaries have moved since?)

 
Danny

Joined: 2003-03-24
Posts: 90
Posted: Wed, 2004-12-22 10:56

Thank you for your help. I use Netpbm. The Module is activated and Test Settings reported no problems. Is ImageMagick better than Netpbm? Where can I find precompiled Binarys for ImageMagick for Linux - Intel?

Right now, I have downloaded latest CVS and upload it to the Server. Perhaps this brings some solution?

Danny

 
Danny

Joined: 2003-03-24
Posts: 90
Posted: Wed, 2004-12-22 16:56

I'm sorry to report, that after uploading newest CVS of Gallery2 the Thumbnails are still not visible, even not for the Admin. Netpbm Module is activated and TestSettings works without errors.

I have meanwhile deleted my Albums and Re-Imported it from Gallery 1, but still no Thumbnails! Where is the Logfile, which I can look at what is wrong? In which directory are normally the Thumbnails saved?

Thanks,

Danny

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2004-12-22 17:10

turn on debug output in your config.php
thumbnail files go into the g2data/cache/derivative tree of directories.
make sure the Test Settings output in Netpbm site admin lists the mime type of the files your uploading or importing.

 
Danny

Joined: 2003-03-24
Posts: 90
Posted: Wed, 2004-12-22 23:01

I have activated log and have now 15 MB full of Log. As G2 beginner I can't see anything special. What Keywords should I look for?

Once again, I have deleted all my albums, deleted the Cache directory, verified in the Database, that Derivative is empty. So it looked for me all normal.

Then I have imported my Gallery 1 Albums (9). I have seen in the Database there are correct in the G2_Derivative table. Also I have looked in Cache, also there were the pictures normal with INC extension. Is that correct?

Of course Netpbm Test Settings showed me no problems with JPEG files.

So, I can't understand why I can't see the thumbnails and therefore also no larger version, nor can I jump to an Subalbum.

I'm nearly clueless. Any tipps, hints?

Danny

P.S. Now I have shredderd my G1 Installation. Where can I get rid of the G1 to G2 Redirection with G1?

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2004-12-23 00:52

there should be {id}.dat and {id}-meta.inc files in your g2data/cache/derivative directory tree. The .dat is the actual image file, so if those aren't there then the thumbnail creation isn't working.
PM me your site url and your admin passwd or a user/passwd i can use to upload items and i'll take a look.. leave your site in buffered debug mode.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2004-12-23 01:31
Quote:
P.S. Now I have shredderd my G1 Installation. Where can I get rid of the G1 to G2 Redirection with G1?

there's a button for that in site admin / import / Gallery 1

 
Danny

Joined: 2003-03-24
Posts: 90
Posted: Thu, 2004-12-23 10:27

Mindless, I sent you an PM. The files you mentioned are there in Derivative, so Thumbnail creation should be OK.

I'm sorry to report that even if I deleted all G1 to G2 mappings, the redirection is still there. Any other place I can look at to get rid of the redirection with G1 to G2?

Thanks,

Danny

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2004-12-23 16:53

what am I looking at? your site looks fine to me, with moz17 and ie6 on w2k.

you've removed the .htaccess lines for G1 redirect, right? you must have put that in place when you set it up...

 
Danny

Joined: 2003-03-24
Posts: 90
Posted: Thu, 2004-12-23 17:58

Mindless: Mea Culpa! Shame on me. I using Mc Afee Internet Security 2005. It seems, that it is incompatible with Gallery2. It may sound strange, but its Privacy Service is filtering Gallery2 Thumbnails. I say specially Gallery2 Thumbnails, because all other Websites are working but NO Gallery2 site is working! I tested it actually with 4 others from the Gallery2 demo sites with activated Mc Afee Privacy Service!

So I learned it the hard way, that Mc Afees Software Privacys Service is a piece of crap. Perhaps this is an point for the FAQ?

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2004-12-23 18:31

haha, glad you figured it out.. what makes G2 images different from most websites is the url is a php file that sends back an image (so we can enforce permissions) rather than a url directly to a *.jpg file or whatever.. i guess mcafee trips over that somehow.