G2+joomla: image module (can I do it in horizontal?)

MarcoDeB

Joined: 2006-11-14
Posts: 3
Posted: Tue, 2006-12-05 13:09

Hi to all!
this mornign I tried to mod the G2 image module for joomla, I would like to show the imageblocks horizontally and not vertically.

I have found that the html code is in $imageBlockhtml. How can I modify it?
I tried in this ways:

Quote:
core::initiatedG2();

list ($ret, $imageBlockHtml, $cssBlock) = GalleryEmbed::getImageBlock($array);

if ($ret) { print "<h2>Fatal G2 error</h2> Here's the error from G2:<br />" .$ret->getAsHtml(); }

$content .= $cssBlock;
//$content .= '<td>';
$imageBlockHtml='<td>'.$imageBlockHtml.'</td>';
$content .= ($strip_anchor == 1) ? strip_tags($imageBlockHtml, '<img><table><tr><td><div><h5>') : $imageBlockHtml;
//$content.='</td>';
GalleryEmbed::done();

But nothing... I need to get inside imageBlockHtml and add some lines...
Thanks a lot!
Bye!