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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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