WordPress.org

Support

Support » How-To and Troubleshooting » Thumbnail's Not Cropping

Thumbnail's Not Cropping

  • Hello,

    I had created a theme and added thumbnail support on it, i had added following code in functions.php :-

    if ( function_exists( 'add_theme_support' ) ) {
    	add_theme_support( 'post-thumbnails' );
            set_post_thumbnail_size( 64, 64, true );
    }

    and following in index page :-

    <?php set_post_thumbnail_size(); ?>

    But images are not cropping as you can see here TechnoArea
    plz help i want to use hard crop so that every thumbnail will appear with 64*64 on index page

Viewing 3 replies - 1 through 3 (of 3 total)
  • I had found that my theme is fully working and supporting cropping when tested theme on my localhost on XAMPP, but is not working on my website

    Hi,
    I can see the images are cropped in 64*64

    <img width=”64″ height=”64″ title=”Cloud_System_Booster_Box” alt=”Cloud_System_Booster_Box” class=”attachment-post-thumbnail wp-post-image” src=”http://media.technoarea.in/2012/08/Cloud_System_Booster_Box-64×64.png”>

    Thanks

    ya because i am using a different image for them, take a look at thi page :-
    http://www.technoarea.in/page/9/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Thumbnail's Not Cropping’ is closed to new replies.