Reply To: Problem viewing Portfolio Gallery


imaginem
Support

Hi,

To correct the image not displaying in the lightbox

edit /includes/portfolio.php

add following to line 6

<?php
$image_id = get_post_thumbnail_id(($post->ID), ''); 
$image_url = wp_get_attachment_image_src($image_id,'');  
$image = $image_url[0];
?>

edit /includes/portfolio-recent.php

add following to line 6

<?php
$image_id = get_post_thumbnail_id(($post->ID), ''); 
$image_url = wp_get_attachment_image_src($image_id,'');  
$image = $image_url[0];
?>

You can add more sub categories under the portfolio category that’s selected from theme options. Sub categories will also be listed with the same portfolio gallery style.

This currently occurs in the script. I’ll check on a way to remove it.

Let me know if displaying lightbox images are still having problems after the additional code.

Thanks