Shadowbox tags in WordPress

Just switched to shadowbox to display media on this blog. Reason to switch was because the markup is much easier than with lightbox.

Here is, mainly for me to look up, the tags necessary to load different media types.

Link to a video file.

Striker Beer Commercial

done using following code:

<a title="Striker Beer Commercial" rel="shadowbox;height=720;width=1280;" href=""><img src="" alt="Striker Beer Commercial" /></a>

Link to a html page or a external website

done using following code:

<a title="sgi - remember them?" rel="shadowbox" href="">sgi</a>

Simple link to an image
Jungfraujoch - Top of Europe - iPhone
done using following code:

<a title="Jungfraujoch - Top of Europe - iPhone" href=""><img class="alignnone size-full wp-image-364" src="" alt="Jungfraujoch - Top of Europe - iPhone" width="336" height="225" /></a>

Leave a Reply