Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1795

    I have two questions about the “Featured Images” that appear in the 4 mainpage columns.

    1. I would like to have the images also link to the post. Is this possible?

    2. I would like to disable the full size image once within the post. The images that I’m using aren’t very high resolution and look very bad when stretched across the entire page.

    Thanks in advance!

    #36089

    Hey,

    1.) Sure, you need to open up /framework/classes/kclass_display_box.php, find this code (around line 112):

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

    and replace it with:

    $preview = kriesi_post_thumb($post->ID, array('size'=> array('M'),
    'display_link' => array('permalink'),
    'wh' => $k_option['custom']['imgSize']['M']
    ));

    2.) There are 2 options to fix the stretched images:

    i.) Upload higher resolution / larger images – recommended.

    ii.) Open up functions.php and change the display image sizes. This will also affect every other instance of the image which you edit the size and will require modification to the theme files elsewhere to adjust the CSS and placeholder for the images.

    James

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

The topic ‘Featured Images for front page posts’ is closed to new replies.