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: Category images and albums counter  (Read 1772 times)

0 Members and 1 Guest are viewing this topic.

FM86

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Category images and albums counter
« on: September 26, 2008, 10:28:23 am »

Hallo everybody!

I was wondering if there is a way to use as category picture a picture contained in one of its subcategories. And if it's possible to count in the albums contained in a category also the albums contained in its subcategories.

For example: I have a category with photos from Italy with 0 albums and then many subcategories with all the regions of Italy (let's say 10 subcategories with 3 albums each and 5 photos in each album).
I'd like that when I see the main presentation of category Italy'd be displayed:
Image: a image from subcategory Lazio and album Rome
Album: 30
Files: 150

I hope I managed to explain my problem properly :)

Is it possibly? And how?
Thank you for your attention!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Category images and albums counter
« Reply #1 on: September 26, 2008, 08:05:48 pm »

Missing feature. In other words: no, this is currently not possible.
Logged

FM86

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: Category images and albums counter
« Reply #2 on: September 26, 2008, 10:33:02 pm »

I see. Do you think it will be hard to add a php code somewhere? It shouldn't be hard to write the number of albums and similar but I don't know where to put my code modification.

Thanks
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Category images and albums counter
« Reply #3 on: September 27, 2008, 08:30:41 am »

Yes, it's hard. If it were easy, we would have implemented this long time ago, as you're not the first user to request category thumbs for nested categories.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.