forum.coppermine-gallery.net

Support => Français (French) => Language Specific Support => cpg1.4.x Français (French) => Topic started by: Kristina on March 31, 2009, 07:19:47 pm

Title: CPMFetch problème
Post by: Kristina on March 31, 2009, 07:19:47 pm
Voilà j'ai installé aujourd'hui le dossier cpmfetch dans mon dossier gallery et bien chmoder en 777 le dossier mais comme vous pouvez le voir sur mon site http://www.touchbritney.net/ les mini-images ne s'affiche pas alors je comprends pas même quand je mets le lien pour prendre le code php bah les photos n'apparaisse pas non plus, voici les infos de mon iframe :

<center>
  <iframe name="frame" class="img.aff" width="190" height="200" border="0" frameborder="0" src="lastpictures.php"></iframe>
</center>

Les informations de la page en php de lastpictures :

<?php
  include "gallery/cpmfetch/cpmfetch.php";
  $objCpm = new cpm("gallery/cpmfetch/cpmfetch_config.php");
  $options = array('windowtarget' => '_blank', 'imagestyle' => 'img.aff', "imageattributes" => array("height" => "70", "width"=>"70"));
  $objCpm->cpm_viewLastAddedMedia(2,2, $options);
  $objCpm->cpm_close();
?>

Et voici les infos de img.aff le style que j'ai repris sur ma feuille de style css qui va avec mon design :

img.aff{
border:1px solid #b0c897;
margin:2px;
padding:1px;
background:#e0e0e0
}

Si quelqu'un peut m'aider ça serait super.