Support » Theme: BoldR Lite » Featured image problem

  • Resolved rszarvas

    (@rszarvas)


    Some feature image size in posts cropped to 260×260px. How can i use the original image aspect ratio?
    I think this is a bug.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Mathieu Sarrasin

    (@iceable)

    Hello,

    This is not a bug: BoldR does defines featured images to be cropped at 260x260px. This is defined in functions.php on line 39:

    set_post_thumbnail_size( 260, 260, true );

    This can be overridden by editing or removing this line (not recommended) or by a plugin or a child theme.

    If you have some images that are not cropped to 260×260, they were probably uploaded while using another theme, as featured images are cropped at the moment you upload them with the current theme settings.

    Note that when you switch themes or if you change this setting, new settings do not apply instantly to existing images: you can use this plugin to regenerate featured image thumbnails with the current settings: https://wordpress.org/plugins/regenerate-thumbnails/

    Thank You very much the fast answer! The problem solved really! The set_post_thumbnail_size it works any other numbers. This is good for me.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Featured image problem’ is closed to new replies.