coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: sergian on June 02, 2009, 05:42:08 PM

Title: vertically aligned images with cpmfetch
Post by: sergian 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
???
Title: Re: vertically aligned images with cpmfetch
Post by: sergian 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
Title: Re: vertically aligned images with cpmfetch
Post by: Joachim Müller on June 07, 2009, 10:03:54 AM
Quote from: sergian on June 05, 2009, 01:41:01 AM
we must do to help?
http://forum.coppermine-gallery.net/index.php/topic,35221.msg197845.html#msg197845