Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ejemy

    (@ejemy)

    Hi Easin,

    many thanks for your reply. i try create ticket to find out the probs

    regards

    jemy

    Thread Starter ejemy

    (@ejemy)

    Greeting Miyoshi-san

    i can solved why the image not showing
    when i use this code :

    $gambar=$captcha_instance->generate_image( $prefix, $word );

    this is will generate image and word, the problem is, location of the file is in
    “plugin directory url” /tmp

    when i use contact form 7 the location is in “/wp-content/upload/wpcf7_captcha/”

    i use this code for get the image :

    $file=”really-simple-captcha”;

    $alamat=plugin_dir_url( $file ) .”really-simple-captcha/tmp/”;

    and for show it

    “<img class=”wpcf7-form-control wpcf7-captchac wpcf7-captcha-captcha-744″
    src=”<?php echo $alamat. $gambar; ?>”
    alt=”” width=”72″ height=”24″>”

    its working good!

    by the way, why i use my own code its , i need really simple captcha for my own form to load my custom data in WP web.

    thank you very much

    Regards

    Jemy

    Thread Starter ejemy

    (@ejemy)

    Hi Miyoshi-San

    many thanks to answers my question. sorry i newbie in WP and web.

    if i using this script :

    < img class=”wpcf7-form-control wpcf7-captchac wpcf7-captcha-captcha-744″ src=”<?php echo $prefix; ?>.png” alt=”captcha” width=”72″ height=”24″ >

    its correct script to show the image?

    Regards

    Jemy

    • This reply was modified 5 years, 4 months ago by ejemy.
    • This reply was modified 5 years, 4 months ago by ejemy.
Viewing 3 replies - 1 through 3 (of 3 total)