WordPress.org

Ready to get started?Download WordPress

Forums

Thumbnail's Not Cropping (4 posts)

  1. decentguy49
    Member
    Posted 1 year ago #

    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

  2. decentguy49
    Member
    Posted 1 year ago #

    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

  3. Maidul
    Member
    Posted 1 year ago #

    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-64x64.png">

    Thanks

  4. decentguy49
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic