Advanced search  


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.

Pages: [1]   Go Down

Author Topic: Randon picture variable???  (Read 3856 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.017 seconds with 21 queries.