WordPress.org

Support

Support » Themes and Templates » [Theme: Hatch] Featured images are very low quality

[Theme: Hatch] Featured images are very low quality

Viewing 2 replies - 1 through 2 (of 2 total)
  • So I’ve figured out that for some reason the featured image is being cropped down to 316 wide, and then enlarged back to 640 width which is causing the low quality.

    Unfortunately I have no idea why this is happening (and only with this post so far).

    in your theme’s post.php file line#34:
    <?php if ( current_theme_supports( 'get-the-image' ) ) get_the_image( array( 'meta_key' => 'Thumbnail', 'size' => 'single-thumbnail', 'link_to_post' => false, 'image_class' => 'featured', 'attachment' => false, 'width' => 640, 'height' => 360, 'default_image' => get_template_directory_uri() . '/images/single_image_placeholder.png' ) ); ?>

    where it says: ‘size’ => ‘single-thumbnail’, try to use ‘size’ => ‘full’,
    however this is a dirty workaround. The exact image size is set but I think it`s not defined as a mediasize. This way it grabs the fullsize image and downsizes it to ‘width’ => 640, ‘height’ => 360,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Theme: Hatch] Featured images are very low quality’ is closed to new replies.
Skip to toolbar