Dynamic Lightbox for Blog Images

Hi Everyone! I am trying so desperately to figure out how to make these lightbox images in this blog dynamic. I’ve been using the following post by oramsdesign to try and figure it out (Full CMS Lightbox!), but I’m so new to the CMS I think I may be missing something. Any help on the matter would be greatly appreciated!

Designer:
https://preview.webflow.com/preview/sirwinphotography-copy?preview=3e5c99fc31d8527781c0b1c5a1812904

Live:
http://sirwinphotography-copy.webflow.io/post/10-web-design-blogs-you-cant-miss

Console error:

Try removing the ; from your embed:

Republish and test.

Hello @Spencer_Irwin

The reason that the lightbox is not working is that WF no longer publish the javascript code that you don’t have on your site. So try to add a normal lightbox element to your project and then hide it, with that you’re telling WF to include the lightbox javascript code into your project and it’ll work.

Let me know if I explained my self and if it helps.

Cheers,

1 Like

@Spencer_Irwin
Good point, that too. :slight_smile:

Thanks for the help guys! Haven’t had a chance to remove that part of he custom code, you suggested @Phoxic, but I think I have a page on the site with a “faux” lightbox to enable the necessary JavaScript @aaronocampo.

1 Like