Replacing the standard “Download” link with an image
Below are the standard shortcodes, generated by Lead Magnets: the link, where the user has to click to trigger the Lead Magnet pop-up and the shortcode of the popup with MailPoet subscription form and some customizable text in it.[lead-magnet]Download …[/lead-magnet][lead-magnet-popup title="Subscribe to unlock ..." subtitle="Where I can send ...?" spam_statement="I hate spam too, so I will never send such to you!" close="No, thanks"] [wysija_form id="12"] [/lead-magnet-popup]
In order to display an image of the book cover you offer against newsletter subscription, we will replace the “Download …” text with the image HTML tag and image url in it:
[lead-magnet]<img src=”https://about.canva.com/wp-content/uploads/sites/3/2015/01/children_bookcover-tb-526×0.png” alt=”Book cover” width=”118″ height=”224″ />[/lead-magnet]
Below is a working example in post (Click on the image to trigger the Lead Magnets pop-up):

Subscribe to get News and Tutorials about Lead Magnets
Where I can send Lead Magnets News and Tutorials?
I hate spam too, so I will never send such to you!Adding the image to your theme sidebar in WordPress
To be able to show the Lead Magnet shortcode in your theme sidebar, you have to install the latest version of Lead Magnets plugin. To add an image that triggers Lead Magnets pop-up from the sidebar of your WordPress theme all you have to do is copy/paste the shortcode into a Text widget and include it in your sidebar. Go to Appearance -> Widgets in your WordPress admin and drag a Text widget to your sidebar area. Add a title and paste the shortcodes into the content area: