I'm loading all my nodes in a lightbox. All the links are in a view in the front page and each link is a thumbnail image with the following views FORMAT: Lightbox2 iframe: project_front_image->node page.
Is there a way to dynamically change the default width and height of the lightbox when displaying html content?
The node has always the same width and height when only displaying an image and a text but a different height when there's also video content.
What I'm trying to find out is if it is possible to do something like:
<?php if (!empty($node->field_video)): ?>
// BUILD LIGHTBOX WITH BIGGER HEIGHT
<?php endif ?>
this is the web site I'm working on: www.pvxg.net