Hi,
How can I have the featured image in post showing full size (700x320) 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!
image size in posts
4 posts from 3 voices-
Posted 1 year ago #
-
Hi,
Kindly edit single.php and find this line of 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:
$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.phpHope this helps. :)
Regards,
IsmaelPosted 1 year ago # -
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?Posted 1 year ago # -
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,
PeterPosted 1 year ago #
Reply
You must log in to post.














