Prepare image url.
diff --git a/system/helpers/captcha_helper.php b/system/helpers/captcha_helper.php
index 78eac4b..131879c 100644
--- a/system/helpers/captcha_helper.php
+++ b/system/helpers/captcha_helper.php
@@ -215,6 +215,7 @@
// -----------------------------------
// Generate the image
// -----------------------------------
+ $img_url = rtrim($img_url, '/').'/';
$img_filename = $now.'.jpg';
ImageJPEG($im, $img_path.$img_filename);
$img = '<img src="'.$img_url.$img_filename.'" style="width: '.$img_width.'; height: '.$img_height .'; border: 0;" alt=" " />';
@@ -225,4 +226,4 @@
}
/* End of file captcha_helper.php */
-/* Location: ./system/helpers/captcha_helper.php */
\ No newline at end of file
+/* Location: ./system/helpers/captcha_helper.php */