Possible problem if you will be doing RSS:
cpmfetch/tmp/feed.xml is not writeable by the web server. This will only affect you if you intend on using the RSS feed generation of CpmFetch. If not, you can ignore this error.
Test images - found a total of 18995 images:
If all went well, you will see some random images from your gallery displayed here. If not, you may in fact have a problem and will need to seek help by clicking here.
2 views |
1 views |
2 views |
2 views |
These images were found and displayed by using the following PHP code:
<?php
include "./cpmfetch.php";
$objCpm = new cpm("./cpmfetch_config.php");
$objCpm->cpm_viewLastAddedMedia(1,4);
$objCpm->cpm_close();
?>
Please note: Unless you are running this code from the same directory as the cpmfetch_config.php file,
you need to alter that path so it can be found. The same goes for the include statement.
For example, if you want to add these images into your home page and your cpmfetch directory is inside your
gallery directory (which is named gallery) it would look more like this:
<?php
include "./gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm("./gallery/cpmfetch/cpmfetch_config.php");
$objCpm->cpm_viewLastAddedMedia(1,4);
$objCpm->cpm_close();
?>
Please see the web site or the included documentation for more information.
|