Support » Theme: Newspaper X » Homepage Latest Post Image

  • Hello,

    Can someone help me out with the image that’s being used in the latest post at the homepage?
    The way it’s being used makes it look odd as the resize makes the image blurry.
    You just need to click on the latest post (the large image) and get into the post to see the quality of the homepage image is very poor.

    I’ve already heavily tweaked the theme, but this option is getting on my nerves.

    Thank you!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Guess I found a way to help myself. Not 100% perfect, but much better looking.

    At: public_html/wp-content/themes/*****/inc/libraries/widgets/widget-newspaper-x-header-module/layouts/default.php I changed this part of the code. (Bear in mind the original code is commented)

    if ( has_post_thumbnail() ) {
    /*					$src         = wp_get_attachment_image_src( get_post_thumbnail_id( get_the_ID() ),
    					                                            'newspaper-x-recent-post-big',
    					                                            false,
    					                                            '' );
    					$srcsmall    = wp_get_attachment_image_src( get_post_thumbnail_id( get_the_ID() ),
    					                                            'newspaper-x-recent-post-list-image',
    					                                            false,
    					                                            '' );*/
    					$src         = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ),  'medium' );
    					$srcsmall    = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ),  'medium' );

    Awesome great to see you got that resolved.

    Please advise if you have more questions.

    Have a fantastic day!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Homepage Latest Post Image’ is closed to new replies.