After doing a file_save_upload() how do you resize the images? I created a custom form in Drupal 7 with the ability to upload an image by using file_save_upload(). The image file has been uploaded and a fid has been assigned to it. How do I render this image into the different image styles I have setup?
print theme('image_style', array(
  'style_name' =&gt; 'your_style_name',
  'path' =&gt; $your_file-&gt;uri,
));


theme_image_style