General Discussion Related - Desktop slideshow from coppermine gallery General Discussion Related - Desktop slideshow from coppermine gallery
 

News:

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.
[more]

Main Menu

General Discussion Related - Desktop slideshow from coppermine gallery

Started by eris667, July 23, 2011, 06:34:39 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

eris667

I searched for this, and ended up finding a solution of sorts.
Using CPMfetch + Snippage
Let me know if someone has a better solution, but this is working for me.

End User Directions
http://www.strm.us/cpg15x/forum.php?c=topic&id=3

My cpm3.php file

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="refresh" content="15;url=http://www.strm.us/cpm3.php" />
<title>Coppermine Desktop Slideshow for snippage</title>
<link href="strm.css" rel="stylesheet" type="text/css" />
</head>

<body>
<center>
<?php
  
include "./cpg15x/cpmfetch/cpmfetch.php";
  
$objCpm = new cpm("./cpg15x/cpmfetch/cpmfetch_config.php");
  
$options = array( 'imagesize' => 'int' ,'imagelink' => 'large' );
  
$objCpm->cpm_viewRandomMediaFrom("cat=1",11$options);
  
$objCpm->cpm_close();
?>

</center>
</body>
</html>