How to render imagefield gallery outside $content

gabash - August 4, 2008 - 11:52
Project:Imagefield Gallery
Version:5.x-1.4
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

All works great on node.tpl.php with:

<?php
print $content;
?>
. but when i i try:
<?php
print theme('imagefield_gallery_lightbox2',$node->field_testfield, $node->type);
?>
i get text links who opens in lightbox but don't show the images.
which function to use?

#1

EclipseGc - August 4, 2008 - 21:33

gabash,

Chances are when you see this behavior it's because you're using the gd2 image library, try switching to imagemagick, flushing your presets and trying again.

Eclipse

 
 

Drupal is a registered trademark of Dries Buytaert.