Go straight to image viewer Go straight to image viewer
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Go straight to image viewer

Started by Techmaster, September 17, 2006, 07:05:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Techmaster

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.