vertically aligned images with cpmfetch vertically aligned images with cpmfetch
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

vertically aligned images with cpmfetch

Started by sergian, June 02, 2009, 05:42:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sergian

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
???

sergian

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