Admin Columns
[resolved] Height of Featured Image is not adjusted with Width, when very small (2 posts)

  1. tzeldin88
    Posted 2 years ago #

    On my Posts admin-list, I am showing the Featured Image, and i set the width very small, to 6%. But the HEIGHT is not adjusted accordingly, so the image appears very tall and narrow. Can the height be set to AUTO somehow?



  2. Tobias Schutter
    Plugin Author

    Posted 2 years ago #

    At this moment the images are not yet responsive, so the width and heights are fixed. You can however change the fixed widht and height by adding the following to your theme's functions.php:

    // edit here: fill in your thumbnail height and width
    $my_height = 30;
    $my_width  = 30;
    // stop editing
    add_image_size( 'admin-columns', $my_width, $my_height, true );
    add_filter('cpac_thumbnail_size', function() {
        return 'admin-columns';

    You can find more information about this in the FAQ section of the plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Admin Columns
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic