• Resolved Jim

    (@digitalredefined)


    I’m using the image share on specific images on my clients site and it’s working great. Is it possible to display the icons without mousing over the image? I searched documentation and support forums and couldn’t find any info.

    Thanks,
    Jim

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author micropat

    (@micropat)

    Hi Jim,

    For page/browser performance, AddToAny image sharing works by efficiently reusing one set of buttons, which is why they appear on hover only.

    A developer could certainly insert & style buttons for desired images using JavaScript. The AddToAny HTML would look like, for example:

    <div class="a2a_kit a2a_kit_size_32 a2a_default_style" data-a2a-url="https://www.addtoany.com/" data-a2a-title="Example Page" data-a2a-media="https://static.addtoany.com/images/dracaena-cinnabari.jpg">
        <a class="a2a_button_pinterest"></a>
        <a class="a2a_button_facebook"></a>
        <a class="a2a_button_houzz"></a>
        <a class="a2a_button_tumblr"></a>
    </div>

    The data-a2a-media attribute is what enables image sharing to services that support it.

    Thread Starter Jim

    (@digitalredefined)

    Thanks for the insight. I’m using the a2a_config.overlays.push javascript declaration with the class target attribute and an option to display without mouseover would be great.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Always show Image Share buttons’ is closed to new replies.