coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: m3b on April 15, 2006, 07:06:30 PM

Title: No thumbnail for virtual album : can you help ?
Post by: m3b on April 15, 2006, 07:06:30 PM
Hi,
I'm a newbie in Coppermine : I just set up a 1.4.x cpg gallery here (http://photofun.free.fr/photos/)

I have 2 albums ( 2005, 2006) with images assigned to these albums. These albums have thumbnails as you can see on my site.

I have other virtuals albums : e.g. Seaside which is showing all pictures with the keyword seaside

It seems that I cannot choose a thumbnail for these virtual albums : the option is disabled in the album settings page.

Is it however possible to show a virtual album with a thumbnail on the main gallery page ?

Thanks for your help !

MB
Title: Re: No thumbnail for virtual album : can you help ?
Post by: Joachim Müller on April 16, 2006, 02:00:04 AM
A drawback (or missing feature) of albums that contain only kexworded pics: you can't assign an album thumbnail. No workaround known except uploading at least one actual pic to the album.
Title: Re: No thumbnail for virtual album : can you help ?
Post by: m3b on April 16, 2006, 06:53:23 PM
Quote from: GauGau on April 16, 2006, 02:00:04 AM
A drawback (or missing feature) of albums that contain only kexworded pics: you can't assign an album thumbnail. No workaround known except uploading at least one actual pic to the album.

Thanks for this helpful answer GauGau : I'll add at least one pic to each of my virtual albums
Title: Re: No thumbnail for virtual album : can you help ?
Post by: mlad on September 16, 2006, 02:00:01 AM
How about uploading a generic image to:

/cpg/images/thumb_nopic.jpg
Title: Re: No thumbnail for virtual album : can you help ?
Post by: vonmax on February 20, 2008, 10:23:38 PM
I solved this problem as follow:

open index.php
go to row 520 and change

$cpg_nopic_data = cpg_get_system_thumb('nopic.jpg', $alb_thumb['category']);
in
$cpg_nopic_data = cpg_get_system_thumb('nopic' . $aid . '.jpg', $alb_thumb['category']);

now create a new thumbnail for each album with name:
thumb_nopic1.jpg
thumb_nopic2.jpc

etc using the number of the album and upload this pics into /image/

thats all
massi