diff -upN ./README.txt ./README.txt
--- ./README.txt	1969-12-31 16:00:00.000000000 -0800
+++ ./README.txt	2011-05-23 14:51:25.000000000 -0700
@@ -0,0 +1,3 @@
+After patching imceimage-6.x-1.0-beta2 you'll see a new ".tpl" file in the
+module directory. This file goes in your sites/all/themes/yourtheme/ directory
+to enable this module to work with imce-6.x-2.1.
\ No newline at end of file
diff -upN ./imce-page.tpl.php ./imce-page.tpl.php
--- ./imce-page.tpl.php	1969-12-31 16:00:00.000000000 -0800
+++ ./imce-page.tpl.php	2011-05-23 00:09:23.000000000 -0700
@@ -0,0 +1,31 @@
+<?php
+// $Id: imce-page.tpl.php,v 1.9 2010/03/17 20:55:38 ufku Exp $
+?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $GLOBALS['language']->language; ?>" xml:lang="<?php print $GLOBALS['language']->language; ?>" class="imce">
+
+<head>
+  <title><?php print t('File Browser'); ?></title>
+  <?php if (isset($_GET['app'])): drupal_add_js(drupal_get_path('module', 'imce') .'/js/imce_set_app.js'); endif;?>
+  <?php print drupal_get_html_head(); ?>
+  <?php print drupal_get_css(); ?>
+  <?php $vars['scripts'] = drupal_get_js('header'); ?>
+  <?php function_exists('jquery_update_preprocess_page') && jquery_update_preprocess_page($vars); ?>
+  <?php print $vars['scripts']; ?>
+  <style media="all" type="text/css">/*Quick-override*/</style>
+</head>
+
+<body class="imce">
+<div id="imce-messages"><?php print theme('status_messages'); ?></div>
+<?php print $content; ?>
+<?php print drupal_get_js('footer'); ?>
+
+<script type="text/javascript">
+if(opener.imceImage) {
+  imce.setSendTo(Drupal.t('Add image to @app', {'@app': Drupal.t('imceimage')}), opener.imceImage.insert);
+}
+</script>
+
+</body>
+
+</html>
diff -upN ./imceimage.js ./imceimage.js
--- ./imceimage.js	2008-04-09 11:59:57.000000000 -0700
+++ ./imceimage.js	2011-05-23 14:32:25.000000000 -0700
@@ -9,7 +9,7 @@ imceImage.initiate = function() {
 
 imceImage.open = function (url, field) {
    imceImage.target = field;
-   imceImage.pop = window.open(url, '', 'width=760,height=560,resizable=1');
+   imceImage.pop = window.open(url, '', 'width=960,height=660,resizable=1');
    imceImage.pop['imceOnLoad'] = function (win) {
       win.imce.setSendTo(Drupal.t('Add image to @app', {'@app': Drupal.t('imceimage')}), imceImage.insert);
    }
diff -upN ./imceimage.module ./imceimage.module
--- ./imceimage.module	2009-03-27 10:30:14.000000000 -0700
+++ ./imceimage.module	2011-05-23 11:38:02.000000000 -0700
@@ -308,7 +308,7 @@ function theme_imceimage_formatter_defau
   $delta = $element['#delta'];
   $id = "imceimage-". $field ."-". $delta;
   if ($item['imceimage_path']) {
-    return theme_imceimage_image($item['imceimage_path'],$item['imceimage_width'],$item['imceimage_height'],$item['imceimage_alt'],$id);
+    return theme_imceimage_image($item['imceimage_path'],$item['imceimage_width'],$item['imceimage_height'],$item['imceimage_alt']);
   }
   else {
     return '';
@@ -477,7 +477,7 @@ function imceimage_process($element, $ed
   $field = $form['#field_info'][$element['#field_name']];
   $delta = $element['#delta'];
 
-  $link = url('imce/browse');
+  $link = url('imce');
   $field_id = $field['field_name'];
 
   if (trim($element['#value']['imceimage_path']) != '') {

