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