Code Duplication    Length = 2-2 lines in 2 locations

class.jetpack-post-images.php 2 locations

@@ 622-623 (lines=2) @@
619
		$media = false;
620
		if ( $args['from_thumbnail'] )
621
			$media = self::from_thumbnail( $post_id, $args['width'], $args['height'] );
622
		if ( !$media && $args['from_slideshow'] )
623
			$media = self::from_slideshow( $post_id, $args['width'], $args['height'] );
624
		if ( !$media && $args['from_gallery'] )
625
			$media = self::from_gallery( $post_id );
626
		if ( !$media && $args['from_attachment'] )
@@ 626-627 (lines=2) @@
623
			$media = self::from_slideshow( $post_id, $args['width'], $args['height'] );
624
		if ( !$media && $args['from_gallery'] )
625
			$media = self::from_gallery( $post_id );
626
		if ( !$media && $args['from_attachment'] )
627
			$media = self::from_attachment( $post_id, $args['width'], $args['height'] );
628
		if ( ! $media && $args['from_blocks'] ) {
629
			if ( empty( $args['html_content'] ) )
630
				$media = self::from_blocks( $post_id, $args['width'], $args['height'] ); // Use the post_id, which will load the content