Code Duplication    Length = 2-2 lines in 2 locations

class.jetpack-post-images.php 2 locations

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