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: displaying images by cpmfetch - html, css  (Read 5184 times)

0 Members and 1 Guest are viewing this topic.

snecz

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
displaying images by cpmfetch - html, css
« 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?
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: displaying images by cpmfetch - html, css
« Reply #1 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
« Last Edit: April 16, 2007, 08:02:42 pm by vuud »
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.019 seconds with 19 queries.