Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Iduvall i change the carousel-horizontal-posts-content-slider.php file from line 49 where you find these lines:

    if($displayimage=="YES"){
    
    			 if (has_post_thumbnail( $post->ID ) ):
    $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ),'thumbnail' );
    			endif; 
    
    $featured_img = "<img class='aligncenter wp-post-image' src='". $image[0] . "' " . $attributes . " />";
    
    $slider_gallery.= '<a href="'.$post_link.'">'.$featured_img.'</a>';
    		}

    i change line 53 and 57 to show the thumbnail version of the featured image.

    bye
    Maurizio

    i tried the code a few times but didnt get any result.. am i missing sth??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Thumbnails not show cropped version.’ is closed to new replies.