Advanced search  

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

Pages: [1]   Go Down

Author Topic: Copper Mine Modification Pull top rated image onto web page  (Read 5862 times)

0 Members and 1 Guest are viewing this topic.

mr sprocket

  • Coppermine newbie
  • Offline Offline
  • Posts: 6

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.
« Last Edit: May 27, 2005, 04:19:05 pm by TranzNDance »
Logged

foulu

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 236
  • uhm
Re: Copper Mine Modification Pull top rated image onto web page
« Reply #1 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

mr sprocket

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Copper Mine Modification Pull top rated image onto web page
« Reply #2 on: May 27, 2005, 04:05:33 pm »

Job completed by George_CC.
Logged

George_CC

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 135
    • Web-Engines: installation, design, modifications of CMS
Re: Copper Mine Modification Pull top rated image onto web page
« Reply #3 on: May 28, 2005, 10:08:59 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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: Copper Mine Modification Pull top rated image onto web page
« Reply #4 on: July 06, 2005, 07:37:36 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





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

Page created in 0.021 seconds with 20 queries.