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

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

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 1 Guest 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