I have an urgent issue with my gravity forms.
This is on the latest version of wordpress and latest version of gravity forms. The wordpress is a multisite and is running live.
In gravity forms I am using the captcha field.
But the images do not display. The only way I can get images to display is to delete the .htaccess content.
The htaccess is currently located in <strong>uploads > sites > 2 > gravity_forms > captcha-fde27e3d9b5f686d0c86424ddc56d09b > .htaccess</strong>
If I delete this...
Order deny,allow
Deny from all
<Files ~ "^[0-9A-Za-z]+\.(jpeg|gif|png)$">
Allow from all
</Files>
The images then display, but If I put this back then the images can't be seen.
Can anyone please help, so frustrating.
Thanks
Josh
Daniel Yoen answers:
Hello,
Try to replace htaccess text with :
Order Allow,Deny
<FilesMatch "^[0-9A-Za-z]+\.(jpeg|gif|png)$">
Allow from all
</FilesMatch>
hope this help :-)
Josh Cranwell comments:
Nope just tested and it kills my images.
Remove it, then images come back again.
Thanks
Daniel Yoen comments:
try this :
http://www.themightymo.com/2011/08/09/really-simple-captcha-image-not-displaying/
hope this help :-)
Josh Cranwell comments:
Nope - was very hopefull. But no change.
Daniel Yoen comments:
Hello, please try this :
Order Allow,Deny
<FilesMatch "^[0-9]+\.png$">
Allow from all
</FilesMatch>
Hope this help :-)
Josh Cranwell comments:
Sorry Daniel for abandoning question last week, seems to be the same problem.
I've had to empty the htaccess because it site is live
<div class="gfield_captcha_container">
<img class="gfield_captcha" src="http://www.motorcyclelive.co.uk/wp-content/uploads/sites/2/gravity_forms/captcha-fde27e3d9b5f686d0c86424ddc56d09b/1787208783.png" alt="" width="30" height="42">
<img class="gfield_captcha" src="http://www.motorcyclelive.co.uk/wp-content/uploads/sites/2/gravity_forms/captcha-fde27e3d9b5f686d0c86424ddc56d09b/2116218515.png" alt="" width="30" height="42">
<img class="gfield_captcha" src="http://www.motorcyclelive.co.uk/wp-content/uploads/sites/2/gravity_forms/captcha-fde27e3d9b5f686d0c86424ddc56d09b/1772161785.png" alt="" width="30" height="42">
<div class="gfield_captcha_input_container math_medium">
<input type="text" name="input_7" id="input_input_1_7" tabindex="257" class="input-block-level"><input type="hidden" name="input_captcha_prefix_7" value="1787208783,2116218515,1772161785" class="input-block-level">
</div>
</div>
Hariprasad Vijayan answers:
Try to change htaccess code like this
Order Allow,Deny
<FilesMatch "^[0-9A-Za-z]+\.(jpe?g|gif|png)$">
Allow from all
</FilesMatch>
Josh Cranwell comments:
Same, just tested and it kills my images.
Remove it, then images come back again.
Thanks
Hariprasad Vijayan comments:
Can you show captcha image url?
Josh Cranwell comments:
Sorry I abandoned the post, but here is the url...
<div class="gfield_captcha_container">
<img class="gfield_captcha" src="http://www.motorcyclelive.co.uk/wp-content/uploads/sites/2/gravity_forms/captcha-fde27e3d9b5f686d0c86424ddc56d09b/1787208783.png" alt="" width="30" height="42">
<img class="gfield_captcha" src="http://www.motorcyclelive.co.uk/wp-content/uploads/sites/2/gravity_forms/captcha-fde27e3d9b5f686d0c86424ddc56d09b/2116218515.png" alt="" width="30" height="42">
<img class="gfield_captcha" src="http://www.motorcyclelive.co.uk/wp-content/uploads/sites/2/gravity_forms/captcha-fde27e3d9b5f686d0c86424ddc56d09b/1772161785.png" alt="" width="30" height="42">
<div class="gfield_captcha_input_container math_medium">
<input type="text" name="input_7" id="input_input_1_7" tabindex="257" class="input-block-level"><input type="hidden" name="input_captcha_prefix_7" value="1787208783,2116218515,1772161785" class="input-block-level">
</div>
</div>