Jak mogę wstawić obraz z adresu URL do pliku .php z generowanym obrazem?
Chciałbym dodać, aby wyświetlało obraz z adresu URL w obrazie z pliku PHP.
imagettftext
$handle = imagecreatefrompng("podpis.png"); $text_color = imagecolorallocate($handle, 255, 255, 255); $font = 'arial.ttf'; imagettftext($handle, 9, 0, 72, 35, $text_color, $font, "Brak Gracza"); imagettftext($handle, 9, 0, 72, 35, $text_color, $font, $wiersz['members_display_name']); imagettftext($handle, 9, 0, 72, 58, $text_color, $font, $wiersz['posts']); imagettftext($handle, 9, 0, 72, 79, $text_color, $font, $wiersz2['field_1']); imagettftext($handle, 9, 0, 72, 101, $text_color, $font, $wiersz2['field_13']); imagettftext($handle, 9, 0, 72, 123, $text_color, $font, $new);
imagecopyresampled($handle, imagecreatefrompng("uploads/profile/photo-thumb-".$idkoncowe.".png"), 4, 3, 0, 0, 100, 100, 100, 100);