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

News:

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

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>