Randon picture variable??? Randon picture variable???
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

Randon picture variable???

Started by typhooner, February 20, 2005, 01:15:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

typhooner

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...

Thanks
J
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
http://www.notebooks4free.com/default.aspx?r=266256

Nibbler

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