How to enable Microthumbs for existing albums?

Opperpanter

Joined: 2007-09-28
Posts: 6
Posted: Fri, 2008-09-26 12:19

Gallery URL (optional but very useful):
Gallery version: 1.5.9
Apache version: 2.2
PHP version (don't just say PHP 4, please): 5.2.6
Graphics Toolkit: imagemagick
Operating system: linux
Web browser/version (if applicable): ie

Hi,

I just discovered the Microthumbs feature in G1. I enabled it and it works fine when I create a new album.

Existing albums however don't have the microthumbs. How can I get the existing albums to show them as well? I tried to generate the extra needed thumbs by hand or by using the 'Rebuild Thumbnails' from the album actions drop down. No success.

Does anyone know how to do this?

Thanks!

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2008-09-26 13:59

Hello,

its just a simple setting in the album properties ;-)
No need to (re)create something manually.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
Opperpanter

Joined: 2007-09-28
Posts: 6
Posted: Fri, 2008-09-26 14:35

damn, why didn't I see this myself :)

Thanks.

Next problem: When I set the microthumbs to Yes in the properties window, an error occurs:

Fatal error: Call to undefined function ctype_digit() in /mnt/HD_a2/Web/gallery-1.5.9/lib/valchecks.php on line 158

maybe I need to correct some gallery/php setting?

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2008-09-26 14:56

Hello,

this is strange.
Its a PHP function.
http://de.php.net/manual/en/function.ctype-digit.php

Is your PHP compiled with "--disable-ctype" ?
http://de.php.net/manual/en/ctype.installation.php

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
Opperpanter

Joined: 2007-09-28
Posts: 6
Posted: Fri, 2008-09-26 18:34

Nope, but it does have some option referring to ctype, it's set to shared.

Quote:
--with-config-file-path=$CPREFIX/etc
--enable-shared=yes --enable-static=no
--with-gnu-ld --with-pic
--enable-fastcgi --enable-force-cgi-redirect
--enable-spl
--enable-hash
--enable-session
--with-pcre-regex
--enable-posix
--enable-sockets
--enable-sysvsem
--enable-calendar=shared
--enable-ctype=shared
--enable-libxml --enable-simple-xml --with-libxml-dir=$CPREFIX
--enable-mbstring=shared --enable-mbregex
--enable-pdo=shared
--with-sqlite=shared --enable-sqlite-utf8 --with-pdo-sqlite=shared
--with-mysql=shared,$CPREFIX
--with-pdo-mysql=shared,$CPREFIX
--with-mysql-sock=$CPREFIX/var/run/mysql
--enable-tokenizer=shared
--with-zlib=shared --with-zlib-dir=$CPREFIX
--with-openssl=$CPREFIX
--enable-pcntl
--enable-sigchild
--enable-ftp=shared
--with-gd=shared
--with-jpeg-dir=$CPREFIX
--with-png-dir=$CPREFIX