# (Squarespace) Click Image - Open Form Popup

**URL:** <https://community.elfsight.com/t/squarespace-click-image-open-form-popup/104161>\
**Category:** Platform Tips\
**Tags:** squarespace\
**Created:** [February 28, 2025, 6:46am UTC](https://community.elfsight.com/t/squarespace-click-image-open-form-popup/104161 "2025-02-28T06:46:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tuanphan](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/tuanphan/32/3165_2.png) [@tuanphan](https://community.elfsight.com/u/tuanphan)\
**Post date:** [February 28, 2025, 6:46am UTC](https://community.elfsight.com/t/squarespace-click-image-open-form-popup/104161/1 "2025-02-28T06:46:09Z")

</div>

To make Form Popup appear when users click an Image, you can follow these.

**#1.** First, create a Page in Not Linked.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/8/b/8bc2d9c44d50daa26c6d23b0ad1ff8fa5a3beb31.jpeg)

With Name/URL: **Content Lightbox – /content-lightbox**

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/e/0/e0e25066530bef0cdf2c7cfd9a7dfe9bfa98fa86.png)

**#2**. Edit Content Lightbox page \> Add 3 Forms \> Then find ID of 3 Forms

In my example, we will have:

- Form 1: #block-yui\_3\_17\_2\_1\_1740194891538\_7640
- Form 2: #block-da4d2bf8093364e61571
- Form 3: #block-da08004027c8ede46324

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/3/d/3d80148c866c24c963c3d357edc28d3b81a04a35.png)

**#3.** Edit Images where you want to make Form Popup appear \> Edit 3 Images \> Add URL \> Use this URL format.

Make sure “Open in New Tab” is disabled

Image 1: #wm-popup=/content-lightbox#block-yui\_3\_17\_2\_1\_1740194891538\_7640

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/c/7/c77c91abdb9e649ef4a2b13bc57b288f2c3c763e.png)

Image 2: #wm-popup=/content-lightbox#block-da4d2bf8093364e61571

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/1/d/1da67110aa992fae77051793258d0735c1bde6f5.png)

Image 3: #wm-popup=/content-lightbox#block-da08004027c8ede46324

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/1/8/186a1bd6366a01e1aaaf40abbb7c4fb9aae6abac.png)

**#4.** Install [Popup Plugin](https://www.will-myers.com/products/p/modal-popups-in-squarespace?peachs_apc=tuan-phan)

Plugin will give you some code to Code Injection \> Header

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/c/4/c4eb53a8e99f03f2e7cef681e5081f2803896772.png)

and Footer

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/0/8/080405e93617d5f67dc81756cbc03a567a22e60b.png)

**#5.** Result

When users click Image 1 \>\> Form Popup 1 will appear

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/7/5/753b801eb895593e50aedffad2f254465e0b6ca9.png)

When users click Image 2 \>\> Form Popup 2 will appear

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/c/e/ce997410b5847353209f5cffb78f430d5c062074.png)

When users click Image 3 \>\> Form Popup 3 will appear

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/1/f/1fe481071242f2e3fade760fc894b35386131c69.png)

---

<div class="post-metadata">

**Author:** ![romano97002](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/romano97002/32/95751_2.png) [@romano97002](https://community.elfsight.com/u/romano97002)\
**Post date:** [February 28, 2025, 4:29pm UTC](https://community.elfsight.com/t/squarespace-click-image-open-form-popup/104161/2 "2025-02-28T16:29:23Z")

</div>

@tuanphan,

❤ ❤ ❤
