displaying images by cpmfetch - html, css displaying images by cpmfetch - html, css
 

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

displaying images by cpmfetch - html, css

Started by snecz, April 16, 2007, 07:33:51 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

snecz

I've installed cpmfetch. I think it's great tool.
It's working fine but I have one problem.
I've used your example from this forum:
<?php
  
include "./galeria/cpmfetch/cpmfetch.php";
  
$objCpm = new cpm("./galeria/cpmfetch/cpmfetch_config.php");
  
$objCpm->cpm_viewLastAddedMedia(1,4);
  
$objCpm->cpm_close();
?>

It displays 4 last added images from my gallery. But without any style. I don't know php at all and I don't know how use it with html and css together. I've viewed this forum and I can't find an answer.
So could you please give me one example how could I use cpmFetch with html and css to display images?

vuud

#1
Quote from: snecz on April 16, 2007, 07:33:51 PM
I've installed cpmfetch. I think it's great tool.
It's working fine but I have one problem.
I've used your example from this forum:
<?php
  
include "./galeria/cpmfetch/cpmfetch.php";
  
$objCpm = new cpm("./galeria/cpmfetch/cpmfetch_config.php");
  
$objCpm->cpm_viewLastAddedMedia(1,4);
  
$objCpm->cpm_close();
?>

It displays 4 last added images from my gallery. But without any style. I don't know php at all and I don't know how use it with html and css together. I've viewed this forum and I can't find an answer.
So could you please give me one example how could I use cpmFetch with html and css to display images?


You should search google on information on using PHP and HTML and CSS.  All of that is beyond the scope of discussion here.

There are many places that will teach you this stuff better than I have the time to.  I've listed a few here.

http://cpmfetch.fistfullofcode.com/support/index.php

EDIT: I am also taking suggestions for this list, so please let me know of anything worth mentioning
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