Change FooBox Size

You can set the lightbox height or width in case you want to override the defaults. These settings should be thought of as "max-height" or "max-width", as FooBox will not grow larger than what is specified.

To do this, just add your desired pixel height and width to the following attributes:

data-height="600" data-width="480"

It's important to notice that there is NO "px" in the attributes.

And here's the code used to do that:

<a href="image1.jpg" 
  data-width="600"
  data-height="480"
  target="foobox" 
  data-caption-title="A caption title here" 
  data-caption-desc="A caption description here">Open Image</a>