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: vertically aligned images with cpmfetch  (Read 3984 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.015 seconds with 20 queries.