album thumbnails size

General project discussion. NOT for help questions.
Post Reply
Guerrero
Forum Members
Forum Members
Posts: 30
Joined: Sun Jan 27, 2008 3:26 am

album thumbnails size

Post by Guerrero »

Any way to define the album thumbnails size?
I like the thumbnails a little bigger.

Thanks in advance.
faglork

Re: album thumbnails size

Post by faglork »

Hi,

the album module uses the thumbnail generator of the imagemanager. The thumbnail size is set in the image manager's config.inc.php:

Code: Select all

/*
  Thumbnail dimensions.
*/
$IMConfig['thumbnail_width'] = 150;
$IMConfig['thumbnail_height'] = 150;
(Original size is 96, I changed it to 150)

The file is located in
yourcmsdirectory/lib/filemanager/ImageManager/


This would make a nice feature request for future image manager modules: Thumbnail size should be configurable in admin area.

hth,
Alex
Last edited by faglork on Thu Feb 14, 2008 2:23 pm, edited 1 time in total.
Guerrero
Forum Members
Forum Members
Posts: 30
Joined: Sun Jan 27, 2008 3:26 am

Re: album thumbnails size

Post by Guerrero »

Thanks!

of course I second the feature request for this value.

Now I need some way to re-generate thumbnails with the new size (I've 20+ albums)
Do you know how?
faglork

Re: album thumbnails size

Post by faglork »

No way :-(

You have to go in and manually delete the old tumbnails. Just use the imagemanager. Another way would be per FTP/SSH/telnet (however, you might find problems with user rights mask).

hth,
Alex
Guerrero
Forum Members
Forum Members
Posts: 30
Joined: Sun Jan 27, 2008 3:26 am

Re: album thumbnails size

Post by Guerrero »

If I delete the thumbnail files the the album will recreate automatically when needed?

If yes I can try to delete using FTP (more fast).

Maybe also we can use an external program to re-create thumbnails. for example irfanview.com can do similar task.
Post Reply

Return to “General Discussion”