Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Go straight to image viewer  (Read 2402 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.016 seconds with 21 queries.