vertically aligned images with cpmfetch vertically aligned images with cpmfetch
 

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

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