• Hello

    how can i fix the array size in MultiPostThumbnails feature images

    i can used this
    add_image_size( ‘feature-image’, 960, 500, true );
    add_image_size( ‘medium-thumb’, 300, 156, true );
    add_image_size( ‘small-thumb’, 75, 75, true );
    but i have near about 10 pages and in every page i have different images
    in size so it is so hard to mention all array size in function.php file

    is their any suggition
    plz help me

    <?php the_post_thumbnail(array(561,261)); ?> like this how can i declear array size in

    <?php if (class_exists(‘MultiPostThumbnails’)) : MultiPostThumbnails::the_post_thumbnail(get_post_type(), ‘secondary-image2’); endif; ?>
    i have try a lot in google but i can’t

    Thanx
    and sory for my bad english.

  • The topic ‘how to fixed array size in MultiPostThumbnails.’ is closed to new replies.