No thumbnail for virtual album : can you help ? No thumbnail for virtual album : can you help ?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

No thumbnail for virtual album : can you help ?

Started by m3b, April 15, 2006, 07:06:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

m3b

Hi,
I'm a newbie in Coppermine : I just set up a 1.4.x cpg gallery here

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

Joachim Müller

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.

m3b

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

mlad

How about uploading a generic image to:

/cpg/images/thumb_nopic.jpg

vonmax

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