Closed (fixed)
Project:
Uberimage
Version:
6.x-1.3
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Nov 2010 at 19:46 UTC
Updated:
18 Nov 2010 at 21:23 UTC
I am creating a node template and I want to show the nicely cropped thumbnail on the page and have it link to the larger original image in a popup. I have chosen the original size image as the default output. How do I also show the cropped image? I have tried using the following code, but it returns no data at all. Am I passing the wrong info to the function? 'field_mw_image' is my field name and 'grid_image_std' is the name of the preset that I would like to display.
$nid = $node->nid;
$fid = $node->field_mw_image[0]['fid'];
$data = $node->field_mw_image[0]['data'];
$output = theme('aef_utilities_image', array($nid,$fid,$data), 'grid_image_std');
print $output;
Thanks for your help.
Comments
Comment #1
nrackleff commentedI switched to 'aef_image_default' instead and it's working fine now. All is well.
Comment #2
nrackleff commented