forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 plugins => Topic started by: milkshake92 on February 04, 2012, 04:49:50 pm

Title: CpmFetch - don't read style.css
Post by: milkshake92 on February 04, 2012, 04:49:50 pm
I installed CpmFetch

I put the code to the wordpress

<?php
  include "./pictures/cpmfetch/cpmfetch.php";
  $objCpm = new cpm("./pictures/cpmfetch/cpmfetch_config.php");
  $objCpm->cpm_viewLastAddedMedia(1,4);
  $objCpm->cpm_close();
?>

and the style is

.recentimages a img, div.recentimages a img:visited {
width:42px;
height:37px;
background-color: #687474;
border-top: 0px solid #687474;
border-left: 1px solid #687474;
border-right: 0px solid #687474;
border-bottom: 1px solid #687474;
padding: 2px;
-moz-border-radius: 2px;
-khtml-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
}

.recentimages a img:hover {
width:42px;
height:37px;
background-color: #647373;
border-top: 0px solid #647373;
border-left: 1px solid #647373;
border-right: 0px solid #647373;
border-bottom: 1px solid #647373;
padding: 2px;
-moz-border-radius: 2px;
-khtml-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
opacity:.70;
filter: alpha(opacity=70);
-moz-opacity: 0.7;
}

so I corrected the code to

<img src="<?php bloginfo('template_url'); ?>/img/photos.png">
<div class="recentimages">
hhhh
<?php
  include "./pictures/cpmfetch/cpmfetch.php";
  $objCpm = new cpm("./pictures/cpmfetch/cpmfetch_config.php");
  $objCpm->cpm_viewLastAddedMedia(1,4);
  $objCpm->cpm_close();
?>
</div>
<img src="<?php bloginfo('template_url'); ?>/img/koniec ramek.png">
<br><br>

but it doesn't work
it's still
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fi41.tinypic.com%2Fjpzhia.jpg&hash=e7f714cc5ec445248e9426b2c0ca088b5c4ef9f6)
Title: Re: CpmFetch - don't read style.css
Post by: Αndré on February 24, 2012, 02:48:19 pm
Please post a link to a site where we can see CPMFetch (i.e. not your Coppermine gallery).