Posted by doniking on October 2, 2007 at 8:24pm
| Project: | CAPTCHA |
| Version: | 6.x-2.x-dev |
| Component: | Image Captcha (image_captcha) |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
| Issue tags: | accessibility |
Issue Summary
Hello,
Please add a link to reload the image if it can't be read without reload the whole page, just the image.
THanks
DONIE
Comments
#1
It would be neat if you could click on the image to generate a new one. Since the CAPTCHA module is so dependent on the Forms API, I'm not sure if this is something we could do. Drupal 6 adds a bunch of AJAX Forms API stuff though, so that might be something that we'll have to wait for in the Drupal 6 port.
You might like to try out reCAPTCHA, as it implements this functionality.
#2
Looks like a Drupal6 AHAH thing
and should be applicable to all CAPTCHA types (not only image CAPTCHA)
#3
It is especially important for the image captchas, though. IMO, it makes the image captchas unusable b/c someone may think the image is unreadable and at worst say "well, forget this" and at best feel a bit frustrated, or worry what will happen if they enter the wrong value. This is a shame because otherwise they are fantastic... I love how configurable they are.
#4
Subscribing. I've made the CAPTCHAs fairly reasy to read by trying out different fonts and settings... but a refresh link is important.
#5
Subscribing. is there any update???
#6
Subscribing; may have to do this for my company and will try and get permission for a patch to post here.
#7
I am also interested in this feature, as I think this will be the quickest workaround for the intermittent issue that I have just reported on http://drupal.org/node/558904.
#8
Subscribing - I have definitely lost at least one submission as they emailed me to tell me they couldn't read the Captcha and couldn't figure out how to submit the form. Andy
#9
regenerating the captcha is pretty expected functionality these days.
almost qualifies as a bug
#10
FYI: in #654118: Link for reloading CAPTCHA image, we're working on a patch to reload the image (but keep the code in the image the same), which is pretty easy to achieve with some jQuery.
This is not really a duplicate, as this thread is more targeted at generating a new challenge/code/solution (which is much harder)
#11
Hi
I have also made fixes in image captcha module to give refresh functionality.
You can read this post http://drupal.org/node/274173#comment-1042232
Preview : http://sureshyadav.com/files/captcha.jpeg
You can verify at http://sureshyadav.com/user/register
(register please)
You can download the source code for captcha module from here:
http://sureshyadav.com/content/drupal-image-captcha-with-refresh-link
www.sureshyadav.com
-----------------------------------
When problem is clear, solution is near.
#12
Thanks suresh for those pointers.
Apparently you hacked an old version of the CAPTCHA module 6.x-1.x (from april 2008), which is unmaintained now (the 6.x-2.x branch is the active one). Because of some architectural changes, your changes can not be merged directly into the 6.x-2.x branch unfortunately.
It's also recommended to provide a patch instead of a zip file with a edited version. In attachment the patch I managed to extract from your code (for reference only, as it's not applicable to 6.x-2.x) .
#13
Found this issue today in my search for a way to refresh image CAPTCHAs.
The attached patch is based on suresh's code, updated for 6.x-2.x and with some added themability of the link.
One caveat is that this does not generate a new code, just refresh the image with a different pattern.
#14
@samc in #13:
in #654118: Link for reloading CAPTCHA image there is already a patch for just regenerating the image (without generating a new code). Note that you don't need AJAX and additional server side code for this, just requesting a the same image with jQuery is enough.
#15
I have had the same need...but I prefer not to use reCAPTCHA because it depends on external libraries from their site. Attached is a module I wrote which is derived from some of the code that suresh_gju wrote and compatible with the new CAPTCHA module. Enjoy!
#16
Thanks for this(image_captcha_refresh.zip), work well for me.
image_captcha_refresh is a module, both image and code reloaded, thank again.
My captcha is 6.x-2.2.
#17
The last submitted patch, image_captcha_refresh.patch, failed testing.
#18
I really need this for the site I am creating for disabled people (I'm using the textCAPTCHA add-on but realise that this should be a part of this module, so it's available for all types). Please please please. I'm using 6.x-2.x-dev
#19
Here is working patch. I've changed MENU_LOCALTASK type to MENU_CALLBACK, moved link to the #suffix property of element
#20
@warobushek: there is something wrong with the link to your patch
#21
.. once more
#22
I'd like to approach this avoiding inline JS calls, also we need to make sure this degrades gracefully
Also we should re-use the code from #654118: Link for reloading CAPTCHA image
#23
+1
#24
Does the patch in #19 work?
#25
Subscribing