CpmFetch - don't read style.css CpmFetch - don't read style.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

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).