# (Squarespace) Click Image – Open Facebook Video in Lightbox

**URL:** <https://community.elfsight.com/t/squarespace-click-image-open-facebook-video-in-lightbox/105423>\
**Category:** Platform Tips\
**Tags:** squarespace\
**Created:** [March 6, 2025, 12:49pm UTC](https://community.elfsight.com/t/squarespace-click-image-open-facebook-video-in-lightbox/105423 "2025-03-06T12:49:55Z")\
**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:** [March 6, 2025, 12:49pm UTC](https://community.elfsight.com/t/squarespace-click-image-open-facebook-video-in-lightbox/105423/1 "2025-03-06T12:49:55Z")

</div>

Description: Click Image – Open Facebook Video in a Lightbox

**#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 Facebook Videos, use Code Block](https://community.elfsight.com/t/how-to-add-facebook-video-to-squarespace/57573) \> Then find ID of 3 Code Blocks

In my example, we will have:

- Facebook Video 1: #block-yui\_3\_17\_2\_1\_1741077527177\_37188
- Facebook Video 2: #block-5fa40aebebb87a3e4a11
- Facebook Video 3: #block-80227b48f080966f3cd5

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

**#3.** Edit Images where you want to make Facebook Video 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\_1741077527177\_98498

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

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

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

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

[![](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/9/d/9d783d11d2e85cd5aec79e28db039e7669e03101.png) ](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/9/d/9d783d11d2e85cd5aec79e28db039e7669e03101.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 \>\>Facebook Video Popup 1 will appear

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/4/7/4707bc14a44ac71bf164940d29ca2ed86b264308.jpeg)

When users click Image 2 \>\>Facebook Video Popup 2 will appear

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

When users click Image 3 \>\>Facebook Video Popup 3 will appear

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

---

<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:** [March 7, 2025, 7:44am UTC](https://community.elfsight.com/t/squarespace-click-image-open-facebook-video-in-lightbox/105423/2 "2025-03-07T07:44:24Z")

</div>

@tuanphan,

♥ ♥ ♥
