Advanced search  

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

Pages: [1]   Go Down

Author Topic: CpmFetch - don't read style.css  (Read 4013 times)

0 Members and 1 Guest are viewing this topic.

milkshake92

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
CpmFetch - don't read style.css
« 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
(http://i41.tinypic.com/jpzhia.jpg)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: CpmFetch - don't read style.css
« Reply #1 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).
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.