Viewing 30 posts - 1 through 30 (of 32 total)
  • Author
    Posts
  • #2535

    Hi,

    How can I change the height of the featured image on full post? I want to use an image with just 200px height.

    Thanks a lot.

    #38328

    Can someone help? Txs a lot

    #38329

    Hey,

    just chage the thumbnail size in functions.php:

    #####################################################################
    # Define Thumbnail sizes
    #####################################################################
    $k_option['custom']['imgSize']['base'] = array('width'=>267, 'height'=>180); // backend preview size, if changed does not affect the frontend
    $k_option['custom']['imgSize']['S'] = array('width'=>60, 'height'=>60); // small preview pics for half sized posts and sidebar news
    $k_option['custom']['imgSize']['M'] = array('width'=>180, 'height'=>180); // big preview pic for full sized posts
    $k_option['custom']['imgSize']['L'] = array('width'=>700, 'height'=>320); // image for accordion and featured news slider
    $k_option['custom']['imgSize']['XL'] = array('width'=>960, 'height'=>320); // big images for fullsize pages and fade slider

    #38330

    OK. Thanks a lot. But this left a black block below the 200px picture (the remain of 320 – 200) .

    I tried changing line 400 in style.css, but that also changes the sliders´ height.

    How can I remove that black box, without changing also the sliders height?

    Txs

    #38331

    Hey,

    as far as I know the featured image size (and also the box size) is dynamically so it’s not a css problem. Maybe try to regenerate the thumbnails by using this plugin:http://wordpress.org/extend/plugins/regenerate-thumbnails/

    #38332

    I just tried that plugin, to no avail.

    Image and box are still there.

    Please check here: http://www.kipfitoficinas.com/?page_id=197

    Txs

    #38333

    Hey,

    please deactivate the Maintenance mode :) – thanks.

    #38334

    ooops, sorry. Done.

    #38335

    Hey,

    try to add

    .featured1{
    height:200px !important;
    }

    to style.css

    #38336

    I tried changing this:

    #top .featured1{

    border:none;

    display: block;

    }

    to this:

    #top .featured1{

    height:200px ;

    border:none;

    display: block;

    }

    and this is what happened: block is there, but just the outline.

    http://www.kipfitoficinas.com/wp-content/uploads/2010/12/screenshot.tiff

    #38337

    If you change

    .featured{
    height:200px !important;
    }

    the height of the slider is decreasing to?

    #38338

    Yes.

    The size of the images changes, but the block behind it is still there.

    I will now put the maintenance mode ON (the client asked) but will send you an email with the WP user and pass.

    Txs a lot for your time.

    #38339

    Did you get my email?

    Txs

    #38340

    Hey,

    yes I got it. I’ll look into it asap.

    #38341

    Txs. Really apreciate it. I promised the client I would launch the website tomorrow.

    #38342

    Hey,

    I fixed it. It was more complex than I thought first.

    #38343

    I have a similar issue what was the problem in the end so that i can fix it?

    #38344

    Hey,

    When you say similar problem can you elaborate?

    Please provide the site URL and details of what you want to achieve.

    James

    #38345

    I have set the size of my slider image to 300px in the css…

    http://lmc.ddtcomputing.co.uk

    you will see the image is still being stretched to the 440px…

    after inspecting the element i have found that somewhere in the html the image is being forced into 440px

    <img title="Welcome" alt="" src="http://lmc.ddtcomputing.co.uk/wp-content/uploads/2010/12/rot1.png" />

    Any assistance greatly recieved.

    Thanks

    #38346

    Hey,

    you need to change the dimensions in functions.php – search for following line:

    $k_option['custom']['imgSize']['XL'] = array('width'=>940, 'height'=>440);		// big images for fullsize pages and mainpage slider

    #38347

    Thanks

    Fixed the issue! So simple! Doh

    #38348

    Glad that we could help you :)

    #38349

    I can not make my thumbnails smaller, please advice.here I want to resize to 200*200 please help.

    #38350

    Hey,

    you can change the thumbnail sizes in functions.php.

    #38351

    yes I know that but where? look this is what I have: – thumbnails right now they are about 300 and I don’t see this in here please advice.

    #38352

    Hey,

    I missed that you’re using Levitation – the thread started for Newscast :)

    To change the portfolio image size open up template_portfolio.php and search for following code line:

    $resize_options1 = "&w=280&h=140&zc=1";

    Change 280 and 140px to any values you like. Other image sizes are defined in index.php (slider image size) and archive.php, page.php and single.php.

    #38353

    Perfect, Thanks you are the best!

    #38354

    I need my images to be “Portrait” orientation (tall rectangles). so there is no way of making this? with 4 columns?

    #38355

    Hey,

    you can change the thumbnail size as you like. The thumbnails are generated via timthumb which uses your uploaded images. The cropping process can be changed via some parameters: http://www.binarymoon.co.uk/2010/08/timthumb-part-4-moving-crop-location/ – you can try it.

    #38356

    Yeah but there’s no way you can show me how to do 4 column? please I would really appreciate your help :)

Viewing 30 posts - 1 through 30 (of 32 total)

The topic ‘Change size of featured images.’ is closed to new replies.