Title: [Plugin: Shadowbox JS] Deactivate Shadowbox for a specific image
Last modified: August 19, 2016

---

# [Plugin: Shadowbox JS] Deactivate Shadowbox for a specific image

 *  [ulfstein](https://wordpress.org/support/users/ulfstein/)
 * (@ulfstein)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-shadowbox-js-deactivate-shadowbox-for-a-specific-image/)
 * Currently I have Shadowbox set to automatically include images. However, at the
   top of my posts I need to insert a title image which should not load in Shadowbox
   whilst the rest of the images on the page should. How can I deactivate Shadowbox
   for this one specific image?
 * Many thanks

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

 *  Plugin Author [Matt Martz](https://wordpress.org/support/users/sivel/)
 * (@sivel)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-shadowbox-js-deactivate-shadowbox-for-a-specific-image/#post-1718236)
 * Read [http://wordpress.org/extend/plugins/shadowbox-js/other_notes/](http://wordpress.org/extend/plugins/shadowbox-js/other_notes/)
 * Number 7 under “If you want more fine grain control over the links continue with
   the next steps. If not then stop here.”
 *  [cariscribe](https://wordpress.org/support/users/cariscribe/)
 * (@cariscribe)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-shadowbox-js-deactivate-shadowbox-for-a-specific-image/#post-1718426)
 * Matt, I am having the same question which I posted today here:
 * [http://wordpress.org/support/topic/plugin-shadowbox-js-hide-launching-thumbnail-from-larger-gallery-not-working-with-nobox](http://wordpress.org/support/topic/plugin-shadowbox-js-hide-launching-thumbnail-from-larger-gallery-not-working-with-nobox)
 * but the question is WHERE in the tag should the rel=”nobox” go exactly? I’ve 
   tried many variations!
    Cari
 *  Plugin Author [Matt Martz](https://wordpress.org/support/users/sivel/)
 * (@sivel)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-shadowbox-js-deactivate-shadowbox-for-a-specific-image/#post-1718427)
 * It goes on the anchor tag:
 * `<a href="http://example.org" rel="nobox">Something</a>`
 *  [cariscribe](https://wordpress.org/support/users/cariscribe/)
 * (@cariscribe)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-shadowbox-js-deactivate-shadowbox-for-a-specific-image/#post-1718428)
 * Thanks, Matt, that’s exactly where I’ve been putting it. In this case the anchor
   tag is an image, so I’ve added at the end of the tag that begins: a href, but
   that either doesn’t work on uploading the image directly into the post, or leads
   the page to a blank page with only the image on it. If I add it to the tag that
   begins img src then the thumbnail is back in the gallery again with the big pictures.
   I am running Thesis theme. The page is here:
 * [http://cariferraro.com/gallery/the-first-writing-limited-edition/](http://cariferraro.com/gallery/the-first-writing-limited-edition/)
 * When I look at the page source the extra wording rel=”shadowbox[post-144];player
   =img;” appears, which I did not add. HOw is that getting added automatically?
   The rel=”nobox” does appear below surrounded by red so I know it’s wrong, but
   it just won’t let me do it the other way. My big images are hidden and that is
   all working fine.
 * Would you mind taking a look?
 * Thanks,
    Cari
 *  [cariscribe](https://wordpress.org/support/users/cariscribe/)
 * (@cariscribe)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-shadowbox-js-deactivate-shadowbox-for-a-specific-image/#post-1718429)
 * Ok, so I took the nobox instruction and put it back on the anchor tag, which 
   then leads away from the page to the image on a blank page. It is just not working
   by adding rel=”nobox” to the anchor tag. Is there something else I should be 
   putting in. I understand why if I don’t put a shadowbox attribute on an image
   it automatically is assigned as Shadowbox is sitewide. Just, how can I hide this
   thumbnail?
 * [http://cariferraro.com/gallery/the-first-writing-limited-edition/](http://cariferraro.com/gallery/the-first-writing-limited-edition/)
 * Thanks,
    Cari

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

The topic ‘[Plugin: Shadowbox JS] Deactivate Shadowbox for a specific image’ 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/)

 * 5 replies
 * 3 participants
 * Last reply from: [cariscribe](https://wordpress.org/support/users/cariscribe/)
 * Last activity: [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-shadowbox-js-deactivate-shadowbox-for-a-specific-image/#post-1718429)
 * Status: not resolved