Posts by Bruno • 37 points
4 posts
-
0
votes1
answer99
viewsQ: Is it possible to use imagecopyresampled and imagecopymerge at the same time?
I was able to set the fixed size for the image (500x500) now I wanted to know if you have to take this image already defined and put another one on top with imagecopymerge? <?php $img =…
-
0
votes2
answers235
viewsQ: header Content-Type does not let you use HTML/CSS
I have this code to overlay two images, one on top of the other <?php $img = $_POST['img']; $user = imagecreatefromjpeg($img); $mask = imagecreatefromgif('imgs/logo.gif'); $width =…
-
3
votes1
answer674
viewsQ: How to set default size of a PHP image
I wonder if there is any way to define the height, and the default width in php, I saw some forms, but I used an external class, I wonder if there is any way to use the GD library... $dest =…
-
0
votes0
answers24
viewsQ: Image upload code does not send gif to folder
I was trying to send images to the database, and the best way was to save them in a directory and send only the name to MYSQL, only when I send a gif, it n goes to the directory but usually goes to…