Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #4301

    Hi Dude

    Me again with a small request/hiccup. How do I disable the lightbox feature? I have my portfolio so that when I click on the thumb picture I am taken to the portfolio item in detail. However, when I see the picture in the item page and click on it, I see a small white square expecting a larger picture, (I think)? However I wish to switch off the click feature that this is using as I do not wish to use the lightbox feature?

    Is this in the code or a setting on one of the admin pages??

    Many thanks for any help….

    DWhitt

    #45791

    Hey,

    I believe this is an option in the Theme Options under Portfolio. You can select between the lightbox and the link to the individual portfolio entry.

    James

    #45792

    Hi Support

    Have been away for a few days so only just read your update, thanks for the reply. I seem to have not explained myself clearly enough and it is quite difficult to describe what I am talking about. When you gave the reply above to select between the lightbox and link to the individual portfolio entry, I have that selected to go to the individual entry from the portfolio pages.

    However, when I am in the individual portfolio item page seeing the larger picture displayed, when I click on that there is a link that is trying to display a larger version of the picture in a lightbox?? That is the function I wish to turn off?

    You can see the effect at: http://www.stonedecor.co.uk/?portfolio=jewellery-box-2-drawer

    Thanks for your patience guys

    DWhitt

    #45793

    Hey,

    Sorry for the misunderstanding. You can easily change this by editing the function which loads the images. In single.php find this code:

    $big_prev_image = kriesi_post_thumb($post->ID, array('size'=> array('L'),
    'wh' => $k_option['custom']['imgSize']['L'],
    'display_link' => array('lightbox'),
    'linkurl' => array ('XL','_preview_big')
    ));

    and change the display_link and linkurl so they look like this:

    $big_prev_image = kriesi_post_thumb($post->ID, array('size'=> array('L'),
    'wh' => $k_option['custom']['imgSize']['L'],
    'display_link' => none,
    'linkurl' => none
    ));

    If you only want this for Portfolio page items (i.e. you want the lightbox effect on regular blog pages etc) then duplicate single.php to single-portfolio.php and make you changes there.

    James

    #45794

    Hi James

    1 minute, done………………

    Many thanks as always James

    DWhitt

    #45795

    Hey,

    No problem, glad you got this worked out!

    James

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Lightbox’ is closed to new replies.