Title: code?
Last modified: August 21, 2016

---

# code?

 *  [eavanwallner](https://wordpress.org/support/users/eavanwallner/)
 * (@eavanwallner)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/code-9/)
 * Hi, I’m trying to create an image that, when clicked, will open to a video within
   a responsive lightbox. I’m not sure where to place the code for this, or how 
   to even activate the lightbox function.
 * help?
 * Thanks!
 * [http://wordpress.org/plugins/responsive-lightbox/](http://wordpress.org/plugins/responsive-lightbox/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [dFactory](https://wordpress.org/support/users/dfactory/)
 * (@dfactory)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/code-9/#post-3958265)
 * Just create a link to a video file where anchor is an image, for e.g.
 * `<a href="http://avideofile..." rel="lightbox"><img src="http://imagefile..."
   ></a>`

Viewing 1 replies (of 1 total)

The topic ‘code?’ is closed to new replies.

 * ![](https://ps.w.org/responsive-lightbox/assets/icon-256x256.png?rev=3460874)
 * [Responsive Lightbox & Gallery](https://wordpress.org/plugins/responsive-lightbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/responsive-lightbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/responsive-lightbox/)
 * [Active Topics](https://wordpress.org/support/plugin/responsive-lightbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/responsive-lightbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/responsive-lightbox/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [dFactory](https://wordpress.org/support/users/dfactory/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/code-9/#post-3958265)
 * Status: not resolved