Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #24901

    I set the first portfolio item image to ‘link to this post’ so the homepage and portfolio thumbnails are clickable.

    However, I do not want the slideshow images on the portfolio item page to be clickable at all (was opening image in lightbox, curiously).

    I have found a ‘semi-solution’ in this thread:


    Dude

    Try following – open up (Purchase code hidden if logged out) .php and replace:

    case "self":
    if(!is_singular() || $post_id != avia_get_the_ID() || !isset($option_array[$keyprefix.'image']))
    {
    $url = get_permalink($post_id);
    }
    else
    {
    $url = avia_image_by_id($option_array[$keyprefix.'image'], array('width'=>8000,'height'=>8000), 'url');
    }
    break;

    with

    case "self":
    if(!is_singular() || $post_id != avia_get_the_ID() || !isset($option_array[$keyprefix.'image']))
    {
    $url = get_permalink($post_id);
    }
    else
    {
    $url = $inside;
    }
    break;

    #125133

    Hi Dude,

    Sorry it took so long to get back to you. THIS WORKED!

    Appreciate your help :)

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

The topic ‘'link to this post' image behaviour in thumbnail vs slideshow (Eunoia)’ is closed to new replies.