forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: eris667 on July 23, 2011, 06:34:39 pm

Title: General Discussion Related - Desktop slideshow from coppermine gallery
Post by: eris667 on July 23, 2011, 06:34:39 pm
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
Code: [Select]
<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>