Code Duplication    Length = 2-2 lines in 2 locations

class.jetpack-post-images.php 2 locations

@@ 616-617 (lines=2) @@
613
		$media = false;
614
		if ( $args['from_thumbnail'] )
615
			$media = self::from_thumbnail( $post_id, $args['width'], $args['height'] );
616
		if ( !$media && $args['from_slideshow'] )
617
			$media = self::from_slideshow( $post_id, $args['width'], $args['height'] );
618
		if ( !$media && $args['from_gallery'] )
619
			$media = self::from_gallery( $post_id );
620
		if ( !$media && $args['from_attachment'] )
@@ 620-621 (lines=2) @@
617
			$media = self::from_slideshow( $post_id, $args['width'], $args['height'] );
618
		if ( !$media && $args['from_gallery'] )
619
			$media = self::from_gallery( $post_id );
620
		if ( !$media && $args['from_attachment'] )
621
			$media = self::from_attachment( $post_id, $args['width'], $args['height'] );
622
		if ( ! $media && $args['from_blocks'] ) {
623
			if ( empty( $args['html_content'] ) )
624
				$media = self::from_blocks( $post_id, $args['width'], $args['height'] ); // Use the post_id, which will load the content