Advanced search  


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: Randon picture variable???  (Read 3992 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Randon picture variable???
« on: February 20, 2005, 01:15:53 pm »

Hello, I am trying to develop a new theme that will incorporate Flash.   I want the flash to be able to pick random pictures to display much in the same way that coppermine will display random images at the bottom of the page.  I need to know how exactly coppermine does this...What file in coppermine does this and what table in the database does coppermine look at.  I know how to do the flash end of it , its just he mysql part that I don't really know where to start.   I need the Flash to be able to select random thumnails and display them in the flash movie...

Any help would be appreciated...

Hey everyone,  Help a poor college student get a free laptop (ibook)...follow this link and sign up for one of the offers...Then cancel it before the free trial ends.  Thanks


  • Guest
Re: Randon picture variable???
« Reply #1 on: February 20, 2005, 02:28:54 pm »

The random pic is grabbed with a simple query from the {prefix}_pictures table (include/ - search for 'order by rand()') There are already mods around that do this sort of thing, check the mods board.
Pages: [1]   Go Up

Page created in 0.013 seconds with 19 queries.