reCaptcha V2: How to show image challenge only?

5,969 views
Skip to first unread message

Pijush Debnath

unread,
Dec 6, 2016, 1:44:53 PM12/6/16
to reCAPTCHA
I was trying to display image challenge only and not want to display any other type of challenge. I found a parameter 'data-type', but it doesn't looks like working. Any suggestion?

This is the code I have used: 

<div class="g-recaptcha"
data-sitekey="6Ld6PQ0UAAAAAB5VFIXCP7t2tMKiGG7CrNkIWk8c" data-type="image"></div>

 Thanks 

My1

unread,
Dec 9, 2016, 8:14:32 AM12/9/16
to reCAPTCHA
well image challenge means essentially visual challenge, you dont really get control about the specific challenges used.

Evan Sharp

unread,
Dec 14, 2016, 1:30:40 PM12/14/16
to reCAPTCHA
https://developers.google.com/recaptcha/docs/faq#some-users-are-not-seeing-the-checkbox-recaptcha-widget-whats-happening claims that images will display under 'fallback' conditions and goes on to mention that you can force 'fallback' by passing fallback=true in the resource:

<script src="https://www.google.com/recaptcha/api.js?fallback=true" async defer></script>

It is noted that it is mainly for testing because this fallback experience is not the best experience.
Reply all
Reply to author
Forward
0 new messages