Advanced search  

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]

Pages: [1]   Go Down

Author Topic: General Discussion Related - Desktop slideshow from coppermine gallery  (Read 1686 times)

0 Members and 1 Guest are viewing this topic.

eris667

  • Coppermine novice
  • *
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 47
    • http://www.strm.us/cpg15x/index.php

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>
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.