Advanced search  

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]

Pages: [1]   Go Down

Author Topic: CpmFetch - don't read style.css  (Read 3963 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
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fi41.tinypic.com%2Fjpzhia.jpg&hash=e7f714cc5ec445248e9426b2c0ca088b5c4ef9f6)
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.018 seconds with 19 queries.