Index: image_captcha/image_captcha.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/captcha/image_captcha/image_captcha.js,v
retrieving revision 1.1
diff -u -b -u -p -r1.1 image_captcha.js
--- image_captcha/image_captcha.js	21 Jun 2009 16:01:53 -0000	1.1
+++ image_captcha/image_captcha.js	23 Jul 2010 20:35:27 -0000
@@ -33,4 +33,10 @@ $(document).ready(function(){
 	// Show or hide appropriately on page load.
 	smooth_distortion_shower(0)
 
+
+	// Add a click event to CAPTCHA images to reload the CAPTCHA image
+	$(".captcha_image").click(function() {
+		$(this).attr('src', $(this).attr('src').replace(/\?.*$/, '') + '?r=' + Math.random());
+	})
+
 });
Index: image_captcha/image_captcha.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/captcha/image_captcha/image_captcha.module,v
retrieving revision 1.33.2.1
diff -u -b -u -p -r1.33.2.1 image_captcha.module
--- image_captcha/image_captcha.module	16 Mar 2010 21:09:17 -0000	1.33.2.1
+++ image_captcha/image_captcha.module	23 Jul 2010 20:35:27 -0000
@@ -213,6 +213,9 @@ function image_captcha_captcha($op, $cap
         // build the result to return
         $result = array();
 
+        // Use javascript for some added usability (e.g. image reload).
+        drupal_add_js(drupal_get_path('module', 'image_captcha') .'/image_captcha.js');
+
         $result['solution'] = $code;
         // Generate image source URL (add timestamp to avoid problems with
         // client side caching: subsequent images of the same CAPTCHA session
@@ -220,7 +223,7 @@ function image_captcha_captcha($op, $cap
         $img_src = check_url(url("image_captcha/$captcha_sid/". time()));
         $result['form']['captcha_image'] = array(
           '#type' => 'markup',
-          '#value' => '<img src="'. $img_src .'" alt="'. t('Image CAPTCHA') .'" title="'. t('Image CAPTCHA') .'" />',
+          '#value' => '<img src="'. $img_src .'" class="captcha_image" id="captcha_image_'. $captcha_sid .'" alt="'. t('Image CAPTCHA') .'" title="'. t('Image CAPTCHA') .'" />',
           '#weight' => -2,
         );
         $result['form']['captcha_response'] = array(
