Active
Project:
Uberimage
Version:
6.x-1.3
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Nov 2010 at 15:18 UTC
Updated:
8 Jun 2011 at 02:33 UTC
calling
theme('aef_utilities_image', array($nid,$fid,$data), 'my_imagecache_preset')
renders the image with the imagecache rules applied, but ignores the scale/crop that has been applied via the UI post uploading the file.
Any ideas why that could be?
Comments
Comment #1
nrackleff commentedsubscribing
Comment #2
nrackleff commentedMay I ask how you got as far as you did? Here's what I've entered, and it returns no output at all. Am I passing the wrong data to the theme function?
$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.
Comment #3
sirviejo commentedprint theme('aef_utilities_image', $node->field_mw_image[0], 'grid_image_std');
// theme('aef_utilities_image', $node->image_field[0], $presetname);