Create Thumbnails after Install

adamsjd

Joined: 2005-04-02
Posts: 21
Posted: Tue, 2005-05-03 14:25

I skipped the creation of thumbnails while I was importing my images from a G1 install (because I had more than 15000 images and I wanted to go one step at a time) and I am now regretting it.

Has anyone come up with a bit of code to create or rebuild all thumbnails in the gallery? I have hundreds and hundreds of albums so I do not want to have to go into each one to create the thumbnails.


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):

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-05-03 14:55

you didn't specify what g2 version you are using. if you use a nightly snapshot newer than beta 2 (http://galleryupdates.jpmullan.com), then you can recreate thumbs/resizes in site admin -> maintenance.
perhaps, you'll have to define the thumbs/resizes size first in main.php -> edit album -> set size, check recreate thumbs / resizes box

 
adamsjd

Joined: 2005-04-02
Posts: 21
Posted: Tue, 2005-05-03 15:00

Sorry, I am using Beta 2 so I don't think I have the feature you are speaking of. I will attemt to try one of the CVS builds. Thanks for the info.

As a side note I am going to try to get my G2 integrated with my SMF forum install.

-jadz

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-05-03 15:08

adamsjd, if you didn't know: you don't have to start from scratch. just install the gallery2.tar.gz from the galleryupdates page over your current install and enter the upgrader, and you're done.

for integration, please start a new topic. i'll be happy to answer your embedding questions :)