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: Random picture as sample for album  (Read 3900 times)

0 Members and 1 Guest are viewing this topic.

sergiovc

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 29
Random picture as sample for album
« on: October 06, 2004, 11:26:21 pm »

We all know that each category and each album can use a picture as sample. This picture could be the lastest uploaded or any one that we choose but, is there any way to show a random picture as sample for each album?
So each time the visitor comes to our photo gallery he/she will see a different (or random) picture as sample for each album?

This could be very nice feature  ;)

TIA

???
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Random picture as sample for album
« Reply #1 on: October 07, 2004, 06:14:09 am »

The thumbnail representing a category or album can currently only be a specific one, or or one that has been last uploaded. There have been requests in the past to allow a random thumbnail instead of a fixed one, but afaik this feature hasn't been coded yet. Moving your request from cpg1.3 standalone support to "feature requests".

Joachim
Logged

Southernbird

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Random picture as sample for album
« Reply #2 on: January 07, 2005, 01:49:38 am »

This would be a great addition, and one that should be looked into for the next release if possible. I am able to make the categories randomize upon refresh but the thumbs just won't cooperate. I have been digging backwards through the variables and includes so if you could give me a quick overview of how and what files you used to define the sort options I will be glad to attempt to code the random protion.
Logged

JenRed

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Random picture as sample for album
« Reply #3 on: April 27, 2005, 03:50:12 am »

hi Southernbird

I would like to randomise the categories so that they are in a different order each time someone visits.  It seems you have done this.  can you please point me to an URL with the info if there is one on the board or post details here.

thanks

Jen
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Random picture as sample for album
« Reply #4 on: April 27, 2005, 03:56:14 am »

Um, not sure what you mean by randomizing the categories. If you mean to show different categories every time, I think that will be confusing. Imagine going to the store and each visit, the departments are in different places.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 21 queries.