• Resolved sebastianleis

    (@sebastianleis)


    Hi Kyle,
    first of all, thank you for the nice plugin, works like a charm ??

    I would like to add own SVGs which match our site topic. At the moment, I’m adding new entries to the $captchas array in the call_cf7ic function – but this is not update safe.

    Are there any plans for adding a hook before the randomizer to inject new icons (or is this maybe already done in PRO Version?).

    Thank you in advance!
    Sebastian

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,
    This feature is scheduled to be released in version 8.0 of the PRO version which is still a few minor versions away from being started.
    I’m hoping to have it implemented sometime in the middle to end of this year as its a large update.

    Thread Starter sebastianleis

    (@sebastianleis)

    Thank you for the fast reply Kyle

    Hello @sebastianleis,
    All-In-One image CAPTCHA Prp Version 8.0 has been released which includes SVG support.

    Just for reference here are the instructions for the pro version of the plugin to use SVGs.
    Install the plugin Safe SVG By Daryll Doyle, upload your SVGs to your Media Library, Enable SVGs through the plugin options and add your custom SVG icons through the Choose Default Icons option.

    Along with this new option, you can also use a shortcode [ai1ic-svg id="example"] to pull in those SVG’s into your theme. For Example, if you uploaded an SVG called blue-bird.svg and you wanted to use that SVG on your site, you would add this shortcode [ai1ic-svg id="blue-bird"]. Make sure you do not include .svg or the icon will not appear.

    Some of the shortcode options are:
    id: The SVG file name without .svg.
    output: There are three options, inline will output the SVG code directly into the site which helps improve site performance by reducing network requests, image will place your SVG in an image tag, and url will output the SVG src link if you prefer to add it to your own image tag.
    alt: Add your own image alt tag description, Example alt=”Blue Bird”.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Own SVGs’ is closed to new replies.