Copper Mine Modification Pull top rated image onto web page Copper Mine Modification Pull top rated image onto web page
 

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

Copper Mine Modification Pull top rated image onto web page

Started by mr sprocket, May 25, 2005, 05:16:00 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

mr sprocket

I need to pull the thunmbnal image from a top rated picture from a specific gallery onto a non-gallery web page.  The web page is a php page.  I also would like to pull the rating and star graphics as well.  I need a pretty quick time frame.  This is paid work range $10-40.  Will lead to futur work on same site.

foulu


mr sprocket


George_CC

Quote from: foulu on May 26, 2005, 04:18:34 AM
thunmbnal image in a non-gallery web page - must have a look at "CpmFetch" module

http://forum.coppermine-gallery.net/index.php?board=57.0

the most simple way is to write 19 lines of code and import one function from CPG ;)

@mr sprocket: thx for feedback in my topic, nice to work with you :)

vuud

Quote from: George_CC on May 28, 2005, 10:08:59 AM
Quote from: foulu on May 26, 2005, 04:18:34 AM
thunmbnal image in a non-gallery web page - must have a look at "CpmFetch" module

http://forum.coppermine-gallery.net/index.php?board=57.0

the most simple way is to write 19 lines of code and import one function from CPG ;)

@mr sprocket: thx for feedback in my topic, nice to work with you :)

I have to agree with foulu... the simplest way would be to include the 4 lines of code below.

<?php
include "./cpmfetch.php";
$objCpm = new cpm("/gallery");
$objCpm->cpm_viewRandomTopRatedMediaFrom(1,1,14);
$objCpm->cpm_close();
?>

cpmfetch.fistfullofcode.com





Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco