CpmFetch - don't read style.css CpmFetch - don't read style.css
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

CpmFetch - don't read style.css

Started by milkshake92, February 04, 2012, 04:49:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

milkshake92

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://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fi41.tinypic.com%2Fjpzhia.jpg&hash=e7f714cc5ec445248e9426b2c0ca088b5c4ef9f6)

ΑndrĂ©

Please post a link to a site where we can see CPMFetch (i.e. not your Coppermine gallery).