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: [Solved]: POTD - pic of the day?  (Read 6177 times)

0 Members and 1 Guest are viewing this topic.

dellison

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
[Solved]: POTD - pic of the day?
« on: April 21, 2004, 05:47:22 pm »

Is there a way to have a Pic of the Day?

I searched the forum for anything like this and there doesn't seem to be any posts regarding this - I am surprised actually!

It would take 1 or 2 random (or specific) picture from all the albums (or specific albums) and show it on the main page to any user who visits that page.  

The size would be larger than a thumb, but smaller than the normal size image.

It would have its own section much like breadcrumb,categories,random,etc

Is there anyone who has done this?  I would love to have the code to be able to do this.

Thanks!
« Last Edit: May 01, 2004, 01:32:00 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

dellison

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: POTD - pic of the day?
« Reply #2 on: May 01, 2004, 01:29:15 am »

Thank you for your reply!

I will give some of those codes a try.

Thanks!
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: [Solved]: POTD - pic of the day?
« Reply #3 on: November 22, 2004, 10:20:54 pm »

All three links provided GauGau are dead ends here. And can't find any links on the forum where to find my pic of the day clue :)

Can someone be so as to kindly point this sleepy user in the right direction ?

Thanks!
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: [Solved]: POTD - pic of the day?
« Reply #4 on: November 23, 2004, 12:02:32 am »

there's amanually controlled potd hack on this thread. http://forum.coppermine-gallery.net/index.php?topic=11300.0
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: [Solved]: POTD - pic of the day?
« Reply #5 on: November 23, 2004, 08:29:12 am »

Casper ;) Thanks for finding that but as with most gallery owners with lots of pics to maintain
you want a automated potd.

What i am searching for is not exactly a potd. It is more like a random image function like the row you
can switch on and off in the config page. But then instead of several random pics just one
random pic. And preferably in a div or table which can be placed anywhere on a page.

Or is it somehow possible to alter the random image function which already exist in cpg and make it
display only 1 pic at a time ?
« Last Edit: November 23, 2004, 08:55:27 am by Hein »
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 19 queries.