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: vertically aligned images with cpmfetch  (Read 3887 times)

0 Members and 1 Guest are viewing this topic.

sergian

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
vertically aligned images with cpmfetch
« on: June 02, 2009, 05:42:08 pm »

Forgive the English translation.
Unfortunately I could not find help in the forum post, I have a problem with cpmfetch, I can not understand how the vertically aligned images of the Coppermine gallery in my homepage, in practice I would place them in a table <tr> <td> image .....</ td> </ tr> <tr> <td> image ...</ td> </ tr>.

Thank you very much
 ???
Logged

sergian

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: vertically aligned images with cpmfetch
« Reply #1 on: June 05, 2009, 01:41:01 am »

slowly, slowly crowded there to give suggestions ...stigaz ... we must do to help?

I found only by the way:

body:

<?php


  include "folder/cpmfetch/cpmfetch.php";
 
  $objCpm = new cpm("folder/cpmfetch/cpmfetch_config.php");
 

 
  $styleguide = array(
 
  "cellattributes" => '/n');


 
$objCpm->cpm_viewLastAddedMedia(1,2);
 
  $objCpm->cpm_close();
 
?>

------------------------------------------------->>


edit cpmfetch.php line 1460:


function htmlTagTD($contents, $extraAttributes="")
{
   $htmlOut = '<td';
   if (array_key_exists('cellstyle',$this->styleHash)) $htmlOut .= " {$this->styleHash['cellstyle']}";   
   if ($extraAttributes != "") $htmlOut .= " " . $extraAttributes;
   $htmlOut .= $this->getOptionAttributes("cellattributes");
   $htmlOut .= '<br>' . '<br>';
   $htmlOut .=  $contents . '</td>';
   
   return $htmlOut;   
}

---------------------------------------------------<<

hello world
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.