Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #12272

    Hi,

    How can I have the featured image in post showing full size (700×320) instead of the small square size?

    If this is not possible, how can I get the image wrapped by the text? See how ugly it is for now: http://voyagesenmer.com/croisiere-2/originales/croisiere-luxuriante-a-borneo/.

    Thanks!

    #74914

    Hi,

    Kindly edit single.php and find this line of code:

    Code:
    $preview_image = kriesi_post_thumb($post->ID, array(‘size’=> array(‘M’),
    ‘display_link’ => array(‘lightbox’), // ‘_prev_image_link’ or array(‘lightbox’)
    ‘linkurl’ => array (‘fullscreen’,'_preview_big’),
    ‘wh’ => $k_option['custom']['imgSize']['M']
    ));

    You can it in line 18. just replace it with this:

    Code:
    $preview_image = kriesi_post_thumb($post->ID, array(‘size’=> array(‘L’),
    ‘display_link’ => array(‘lightbox’), // ‘_prev_image_link’ or array(‘lightbox’)
    ‘linkurl’ => array (‘fullscreen’,'_preview_big’),
    ‘wh’ => $k_option['custom']['imgSize']['L']
    ));

    What I did was just I replaced M with L (Medium to Large).

    Other files that also have that line of code are:

    archive.php

    index.php

    page.php

    search.php

    template_contact.php

    Hope this helps. :)

    Regards,

    Ismael

    #74915

    Thanks Ismael, but this has not worked. I changed M for L everywhere you said, then cleared the cache and cookies in my browser. No change. See? http://voyagesenmer.com/destinations/aventure-aux-marquises-a-bord-du-cargo-mixte-aranui/

    Another idea?

    #74916

    Hey!

    I think the problem is that the image itself: http://voyagesenmer.com/wp-content/uploads/2012/05/aranui3.jpg is only 425px. Maybe you can use an image with an higher resolution?

    Best regards,

    Peter

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

The topic ‘image size in posts’ is closed to new replies.