1
I’m trying to use this function but I don’t know if I’m using it the right way
<?php
header("Content-Type: image/png");
?>
<?php
header("Content-Type: image/GIF");
?>
<?php
$img = imagecreatefromgif("https://pbs.twimg.com/profile_images/657537129241825280/9vpxbnIi_normal.png");
ImageGif ($img);
?>
I’m using the function like this but it doesn’t take, this image I put is just an example because I’m going to take the data coming from a variable later to mount the image.
NOTE: The error is that only a square image error appears.
Not what? not missing an echo at the end? what (not) happens?
– rray
The error is that there is only one square image error type appearing.
– Josimara
Neither putting echo does not appear the generated image
– Josimara