Code Duplication    Length = 2-2 lines in 2 locations

class.jetpack-post-images.php 2 locations

@@ 632-633 (lines=2) @@
629
		$media = false;
630
		if ( $args['from_thumbnail'] )
631
			$media = self::from_thumbnail( $post_id, $args['width'], $args['height'] );
632
		if ( !$media && $args['from_slideshow'] )
633
			$media = self::from_slideshow( $post_id, $args['width'], $args['height'] );
634
		if ( !$media && $args['from_gallery'] )
635
			$media = self::from_gallery( $post_id );
636
		if ( !$media && $args['from_attachment'] )
@@ 636-637 (lines=2) @@
633
			$media = self::from_slideshow( $post_id, $args['width'], $args['height'] );
634
		if ( !$media && $args['from_gallery'] )
635
			$media = self::from_gallery( $post_id );
636
		if ( !$media && $args['from_attachment'] )
637
			$media = self::from_attachment( $post_id, $args['width'], $args['height'] );
638
		if ( ! $media && $args['from_blocks'] ) {
639
			if ( empty( $args['html_content'] ) )
640
				$media = self::from_blocks( $post_id, $args['width'], $args['height'] ); // Use the post_id, which will load the content