Title: [Plugin: Shadowbox JS] Shadowbox Stopped Working
Last modified: August 20, 2016

---

# [Plugin: Shadowbox JS] Shadowbox Stopped Working

 *  [Niche Modern](https://wordpress.org/support/users/niche-modern/)
 * (@niche-modern)
 * [15 years ago](https://wordpress.org/support/topic/plugin-shadowbox-js-shadowbox-stopped-working/)
 * We’ve been using the Shadowbox JS plug-in as a better alternative to manually
   entering a shadowbox code into the “rel field” in the image settings pop-up. 
   All was working fine up through April 5th. Here is a sample of the code that 
   previously worked fine:
 *     ```
       <div id="attachment_2604" class="wp-caption alignleft" style="width: 561px"><a href="http://nichemodern-cdn.s3.amazonaws.com/blog/wp-content/uploads/2011/04/michael-niven-interior-design-niche-modern-pod-pendants.jpg" rel="shadowbox[post-2531];player=img;"><img class="size-full wp-image-2604  " title="Niche Modern Pod Pendant Lights in a Michael Niven Interior" src="http://nichemodern-cdn.s3.amazonaws.com/blog/wp-content/uploads/2011/04/michael-niven-interior-design-niche-modern-pod-pendants.jpg" alt="Pod Pendant Lights featured in a Michael Niven project" width="551" height="410" /></a><p class="wp-caption-text">The Pod Light in Michael Niven's Scenic III Condominiums</p></div>
       </div>
       ```
   
 * Here is a code sample of a new image that does not launch shadowbox:
 *     ```
       <div id="attachment_2788" class="wp-caption alignnone" style="width: 534px"><a rel="attachment wp-att-2788" href="http://www.nichemodern.com/blog/building-niche-modern-glass-studio-beacon/niche-modern-glass-studio-view-mezzanine/attachment/niche-modern-glass-studio-mezzanine-view/"><img class="size-full wp-image-2788   " title="View from the mezzanine" src="http://nichemodern-cdn.s3.amazonaws.com/blog/wp-content/uploads/2011/04/niche-modern-glass-studio-mezzanine-view.jpg" alt="Mezzanine in view at the future Niche Modern Glass Studio" width="524" height="349" /></a><p class="wp-caption-text">A view from the mezzanine at the future Niche Modern Glass Studio</p></div>
       </div>
       ```
   
 * If you notice, in the previous anchor tag, here is the shadowbox code: `rel="
   shadowbox[post-2531];player=img;`
 * In the latter anchor tag that doesn’t work, there is no shadowbox code and a 
   new rel appears at the beginning of it:
    `rel="attachment wp-att-2788"`
 * From April 13th through today, something has changed that no longer activates
   the shadowbox plug-in and when clicking images, WordPress opens the image in 
   a new post, url titled: ../blog/category/post-title/attachment/image-name/
 * This has never happened before and we have no idea what caused it? We’re using
   Headway 2.0.10, which we began using with the Shadowbox plug-in with no problems.
 * anchor tag there is an rel=”attachment wp-att-2788″ that does not appear
 * [http://wordpress.org/extend/plugins/shadowbox-js/](http://wordpress.org/extend/plugins/shadowbox-js/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Matt Martz](https://wordpress.org/support/users/sivel/)
 * (@sivel)
 * [15 years ago](https://wordpress.org/support/topic/plugin-shadowbox-js-shadowbox-stopped-working/#post-2085095)
 * It appears as though when you inserted the image, you selected “Post URL” under
   the “Link URL” text input, instead of selecting “File URL”. As such this plugin
   couldn’t determine that the link was to an image.
 *  Thread Starter [Niche Modern](https://wordpress.org/support/users/niche-modern/)
 * (@niche-modern)
 * [15 years ago](https://wordpress.org/support/topic/plugin-shadowbox-js-shadowbox-stopped-working/#post-2085106)
 * Thanks Matt. That seems to have fixed the issue, although it doesn’t quite explain
   the problem. I never fill in that field. It’s almost always pre-filled by Amazon
   S3 with a link to the image. For some reason, recently, the field has been filled
   with the Post URL instead… perhaps this is an Amazon S3 issue. Regardless, thanks
   for the help. Your plug-in is awesome!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: Shadowbox JS] Shadowbox Stopped Working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/shadowbox-js.svg)
 * [Shadowbox JS](https://wordpress.org/plugins/shadowbox-js/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shadowbox-js/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shadowbox-js/)
 * [Active Topics](https://wordpress.org/support/plugin/shadowbox-js/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shadowbox-js/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shadowbox-js/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Niche Modern](https://wordpress.org/support/users/niche-modern/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/plugin-shadowbox-js-shadowbox-stopped-working/#post-2085106)
 * Status: not resolved