Some thumbnail sizes are not being created

Posted in: Newspaper
Post count: 5

Hi,

I’m having an issue with thumbnails size. Not all thumbnails dimensions are created for my featured images and the result is the one you can see here, with the image that is not cropped and overlaps the contents below (Block 18)

I ran both “Regenerate thumbnails” and “Force regenerate thumbnails” plugin with no result.
If I see their output I see that not all dimensions are generated for each image, as you can see here
(the one of the screenshot above should have been td_696x385)

Finally, this is the part of my td_config.php file that goes about thumbnails sizes. All thumbnails sizes are active in the theme control panel


        /**
         * the thumbs used by the theme
         * Thumb id => array parameters. Wp booster only cuts if the option is set from theme panel
         */

        td_api_thumb::add('td_80x60',
            array(
                'name' => 'td_80x60',
                'width' => 80,
                'height' => 60,
                'crop' => array('center', 'top'),
                'post_format_icon_size' => 'small',
                'used_on' => array(
                    'MX2', 'Block 18', 'Block 19', 'Live search', 'tagDiv Image Gallery thumbs'
                )
            )
        );
td_api_thumb::add('td_90x90',
            array(
                'name' => 'td_90x90',
                'width' => 90,
                'height' => 90,
                'crop' => array('center', 'top'),
                'post_format_icon_size' => 'small',
                'used_on' => array(
                    'Prox Dischi Vert', 'tagDiv Image Gallery thumbs'
                )
            )
        );
        td_api_thumb::add('td_100x70',
            array(
                'name' => 'td_100x70',
                'width' => 100,
                'height' => 70,
                'crop' => array('center', 'top'),
                'post_format_icon_size' => 'small',
                'used_on' => array(
                    'Module 6, 7', 'Block 1, 2, 7, 8, 16'
                )
            )
        );
		
		        td_api_thumb::add('td_350x350',
            array(
                'name' => 'td_350x350',
                'width' => 350,
                'height' => 350,
                'crop' => array('center', 'top'),
                'post_format_icon_size' => 'small',
                'used_on' => array(
                    'Lista dischi, Altri dischi'
                )
            )
        );

        td_api_thumb::add('td_218x150',
            array(
                'name' => 'td_218x150',
                'width' => 218,
                'height' => 150,
                'crop' => array('center', 'top'),
                'post_format_icon_size' => 'normal',
                'used_on' => array(
                    'Module 10, MX4, MX7, MX13, Mega menu, Related posts',  'Block 11, 15, 16, 18, Big grid 6'
                )
            )
        );

        td_api_thumb::add('td_265x198',
            array(
                'name' => 'td_265x198',
                'width' => 265,
                'height' => 198,
                'crop' => array('center', 'top'),
                'post_format_icon_size' => 'normal',
                'used_on' => array(
                    'Big grid 1, 3, 7 - small image'
                )
            )
        );

        td_api_thumb::add('td_324x160',
            array(
                'name' => 'td_324x160',
                'width' => 324,
                'height' => 160,
                'crop' => array('center', 'top'),
                'post_format_icon_size' => 'normal',
                'used_on' => array(
                    'Module 1, 2', 'Block 2, 3, 4, Big grid 2'
                )
            )
        );

        td_api_thumb::add('td_324x235',
            array(
                'name' => 'td_324x235',
                'width' => 324,
                'height' => 235,
                'crop' => array('center', 'top'),
                'post_format_icon_size' => 'normal',
                'used_on' => array(
                    'Module 3, 4, 5, 11, MX3', 'Block 1, 5, 6, 13, 17, 20'
                )
            )
        );

        td_api_thumb::add('td_324x400',
            array(
                'name' => 'td_324x400',
                'width' => 324,
                'height' => 400,
                'crop' => array('center', 'top'),
                'post_format_icon_size' => 'normal',
                'used_on' => array(
                    'Slide - 1 column'
                )
            )
        );

        td_api_thumb::add('td_356x220',
            array(
                'name' => 'td_356x220',
                'width' => 356,
                'height' => 220,
                'crop' => array('center', 'top'),
                'post_format_icon_size' => 'normal',
                'used_on' => array(
                    'Module MX1, MX12', 'Block 14, 19', 'Big grid 5, 7, 8'
                )
            )
        );

        td_api_thumb::add('td_356x364',
            array(
                'name' => 'td_356x364',
                'width' => 356,
                'height' => 364,
                'crop' => array('center', 'top'),
                'post_format_icon_size' => 'normal',
                'used_on' => array(
                    'Module MX14', 'Big grid 8'
                )
            )
        );

        td_api_thumb::add('td_533x261',
            array(
                'name' => 'td_533x261',
                'width' => 533,
                'height' => 261,
                'crop' => array('center', 'top'),
                'post_format_icon_size' => 'normal',
                'used_on' => array(
                    'Module MX11', 'Big grid 3'
                )
            )
        );
		
		  td_api_thumb::add('td_696x385',
            array(
                'name' => 'td_696x385',
                'width' => 696,
                'height' => 385,
                'crop' => array('center', 'top'),
                'post_format_icon_size' => 'normal',
                'used_on' => array(
                   'Block 18','Module MX8', 'MX800', 'Block News List'
                )
            )
        );

        td_api_thumb::add('td_534x462',
            array(
                'name' => 'td_534x462',
                'width' => 534,
                'height' => 462,
                'crop' => array('center', 'top'),
                'post_format_icon_size' => 'normal',
                'used_on' => array(
                    'Module MX5,', 'Big grid 1, 3, 4, 6'
                )
            )
        );

        td_api_thumb::add('td_696x0',
            array(
                'name' => 'td_696x0',
                'width' => 696,
                'height' => 0,
                'crop' => array('center', 'top'),
                'post_format_icon_size' => 'normal',
                'used_on' => array(
                    'Default post template', 'Post template 2', 'Post template 11', 'Module 12, 13, 15', 'Smart list style 1, 2, 5, 6'
                )
            )
        );

  

        td_api_thumb::add('td_741x486',
            array(
                'name' => 'td_741x486',
                'width' => 741,
                'height' => 486,
                'crop' => array('center', 'top'),
                'post_format_icon_size' => 'normal',
                'used_on' => array(
                    'MX9', 'Big grid 2'
                )
            )
        );

        td_api_thumb::add('td_1068x580',
            array(
                'name' => 'td_1068x580',
                'width' => 1068,
                'height' => 580,
                'crop' => array('center', 'top'),
                'post_format_icon_size' => 'normal',
                'used_on' => array(
                    'Slide - 3 column'
                )
            )
        );
       td_api_thumb::add('td_1068x530',
            array(
                'name' => 'td_1068x530',
                'width' => 1068,
                'height' => 530,
                'crop' => array('center', 'top'),
                'post_format_icon_size' => 'normal',
                'used_on' => array(
                    'Bio DP'
                )
            )
        );
		
		    td_api_thumb::add('td_1068x300',
            array(
                'name' => 'td_1068x300',
                'width' => 1068,
                'height' => 300,
                'crop' => array('center', 'top'),
                'post_format_icon_size' => 'normal',
                'used_on' => array(
                    'Concerti'
                )
            )
        );
        td_api_thumb::add('td_1068x0',
            array(
                'name' => 'td_1068x0',
                'width' => 1068,
                'height' => 0,
                'crop' => array('center', 'top'),
                'post_format_icon_size' => 'normal',
                'used_on' => array(
                    'Post template 3, Post template 4,  Post template 9,  Post template 10', 'Smart list style 1, 2, 5, 6'
                )
            )
        );

        td_api_thumb::add('td_0x420',
            array(
                'name' => 'td_0x420',
                'width' => 0,
                'height' => 420,
                'crop' => array('center', 'top'),
                'post_format_icon_size' => 'normal', //what play icon to load (small or normal)
                'used_on' => array(
                    'tagDiv Image Gallery'
                )
            )
        );
  • This topic was modified 10 years by serra.
  • This topic was modified 10 years by serra.
Post count: 7909

Hi,

Please provide a link so we can inspect this.
Also I see you use some custom thumb size? Do you use them on modules?

Thanks!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.