How to create a call-to-action (CTA) with a custom image

Last updated: April 5, 2018

Applies to:

Marketing Hub
Basic, Professional, Enterprise

If you want to create your own CTA image instead of using one of HubSpot's styles, you can use a program like Sketch, Adobe Photoshop, or Microsoft Paint. 

Once you have your image created, learn about retina optimization for your image CTA and creating your image CTA below: 

What is retina optimization?

Retina optimization makes your CTA's image more crisp when viewed on your site pages and in emails if your recipients view the CTA in modern versions of Apple Mail and iOS mail; this is not supported by Outlook or webmail services like Gmail.  

Check out the example below to see how retina optimization improves the appearance of your image CTA: 

  • Without retina optimization:


  • With retina optimization: 


Retina optimization is supported when you upload an image that is at least two times the size necessary for the CTA, similarly to how retina support works for all images across the internet. If you're creating a CTA that will be 400px by 100px, the uploaded image would need to be 800px by 200px to support an @2x pixel density display. CTAs support adding up to a 4x version, in this case uploading a 1600px by 400px image. The CTA will automatically be rendered on your website with a srcset attribute serving the 1x, 2x, 3x and 4x version where available.

If the image is uploaded at the size the CTA will be rendered at (e.g., a 400px by 100px image is uploaded for a 400px by 100px CTA), this will not have retina support.

How do I create an image CTA?

In your HubSpot account, navigate to Content > Calls-to-Action.

Create a new CTA

Click Create CTA in the upper right-hand corner.

Choose an image CTA

In the upper right-hand corner of the editor sidebar, click Image Button.

Upload or browse images

To browse existing images, click Browse images. Click an image from the menu that appears, and the image will be inserted into the editor sidebar menu.
After your image is in the editor sidebar menu, adjust the width and height and add alt text in the fields below the image. When you're done, click Next to proceed with the rest of the CTA editing steps. Then click Save and then Finish.
Instead of browsing your uploaded images, click Upload to upload an image from your machine into HubSpot.
After selecting an image from your device, it will be inserted into the editor sidebar menu. Add the width, height, and alt text in the fields below the image. Click Next to move onto the next editing steps, and then click Save and then Finish.

Was this article helpful?

If you still need help you can get answers from the , or to contact support.

Previous article:

Next article: