Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am creating a website using chamber theme.

This is the portfolio of my site like this. Now I want to open these portfolio images in lightbox, but I didn't find where to be change in the code.

My portfolio.php is

session_start();

if (!isset($hide_header) OR !$hide_header) {
    get_header();
}

if (isset($_SESSION['pp_portfolio_style'])) {
    $pp_portfolio_style = $_SESSION['pp_portfolio_style'];
}
else {
    $pp_portfolio_style = get_option('pp_portfolio_style');
}

if (empty($pp_portfolio_style)) {
    $pp_portfolio_style = '2';
}

include(TEMPLATEPATH."/templates/template-portfolio-".$pp_portfolio_style.".php");
share|improve this question
add comment

1 Answer

There is actually a great plugin for this. http://wordpress.org/extend/plugins/fancybox-for-wordpress/ "fancy box for wordpress" I have tried a few and lots of the time they dont work the way I want or dont work at all. This one has not failed me yet. It automatically turns galleries and images (if you link them to the FILENAME.jpg) to open in a light box effect.

share|improve this answer
    
no,its not working in this chamber theme...please suggest another plugin or implemention in the code. –  omnath Jan 31 '12 at 6:28
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.