This content applies to a previous version of CARTO
In October 2021 we released a new version of our platform. You can find the latest documentation at docs.carto.com
How can I add links/images to Builder popups?
Adding Hyperlinks
To include a hyperlink in a pop-up, you’ll need a dataset column containing complete URLs (such as http://www.domainname.com). From the Pop-Up tab, activate the column with the hyperlinks. Then enable the “HTML” option using the toggle switch in the lower left corner. In the text editor, modify the <h4> element:
<h4 class="CDB-infowindow-title"></h4>
Add an anchor tag to the element to create the link.
Adding Images
To display images in a pop-up, navigate to the Pop-Up tab and select the “image” pop-up style under “Style” options. In the “Show items” section, activate the column containing image URLs.
CARTO displays images from external sources like Flickr when the dataset contains direct image links (ending in .jpg or .png). Once you activate the image URL column, the image appears at the top of the pop-up.
