Inserting an image with PHP and FPDF
问题 I'm trying to insert an image but do not want to specify the x and y coordinates. Is that possible? $pdf->Image($image1, 5, 70, 33.78); I want to be able to specify the size (33.78) but not the x and y so that it moves based on the content. $pdf->Write( 70, $reportTitle ); $pdf->Ln( 45 ); $pdf->SetFont( 'Arial', '', 12 ); $pdf->Write( 6, $reportSubtitle ); /** Create product 1 **/ $pdf->Ln( 10 ); $pdf->SetFont( 'Arial', '', 12 ); $pdf->Write( 6, $prod1title ); $pdf->Ln( 30 ); $pdf->SetFont(