Advanced search  

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]

Pages: [1]   Go Down

Author Topic: No thumbnail for virtual album : can you help ?  (Read 3134 times)

0 Members and 1 Guest are viewing this topic.

m3b

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
No thumbnail for virtual album : can you help ?
« 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

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
« Last Edit: April 16, 2006, 09:06:58 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: No thumbnail for virtual album : can you help ?
« Reply #1 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.
Logged

m3b

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: No thumbnail for virtual album : can you help ?
« Reply #2 on: April 16, 2006, 06:53:23 pm »

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
Logged

mlad

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: No thumbnail for virtual album : can you help ?
« Reply #3 on: September 16, 2006, 02:00:01 am »

How about uploading a generic image to:

/cpg/images/thumb_nopic.jpg
Logged

vonmax

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: No thumbnail for virtual album : can you help ?
« Reply #4 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
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.