forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: snecz on April 16, 2007, 07:33:51 pm

Title: displaying images by cpmfetch - html, css
Post by: 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:
Code: [Select]
<?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?
Title: Re: displaying images by cpmfetch - html, css
Post by: vuud on April 16, 2007, 07:55:24 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:
Code: [Select]
<?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