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: Go straight to image viewer  (Read 2233 times)

0 Members and 1 Guest are viewing this topic.

Techmaster

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Go straight to image viewer
« on: September 17, 2006, 07:05:00 am »

Right now I'm testing on my local server, and basically, the URL below is where I would like the entire web site to stay centered around:

http://localhost/coppermine/displayimage.php?album=1&pos=0

I want this to be the front page of the site, and the pos value to be random.  Let the user vote on it, and immediately after voting, it takes them to another random picture to vote on.  Any ideas of what code I can put into my theme to give it that kind of functionality?  Thanks!

I'm thinking of renaming displayimage.php to index.php and have it detect if album and pos are set in the url, if not then it will automatically set album to 1 and pos to random.
« Last Edit: September 17, 2006, 07:16:19 am by Techmaster »
Logged
Pages: [1]   Go Up
 

Page created in 0.013 seconds with 15 queries.