Maq, my sincere apologies. Wont happen again. Wasnt sure which one to post
Gizmola, never knew this even existed!! I have dabbled in PHP but never authored anything. Honestly, I have no clue where to begin. But, being proactive and smart, i thought id try to theorize all of this together. (Great resources btw, thank you very much!)
Based on the information given I assume that I can use this function to start (added an existing script to this):
<?php
// Load the stamp and the photo to apply the watermark to
$im = imagecreatefromjpeg('photo.jpeg');
// Set the margins for the stamp and get the height/width of the stamp image
$marge_right = 10;
$marge_bottom = 10;
$sx = imagesx($stamp);
$sy = imagesy($stamp);
// Merge the stamp onto our photo with an opacity (transparency) of 50%
imagecopymerge($im, $stamp, imagesx($im) - $sx - $marge_right, imagesy($im) - $sy - $marge_bottom, 0, 0, imagesx($stamp), imagesy($stamp), 50);
// Save the image to file and free memory
imagepng($im, 'photo_stamp.png');
imagedestroy($im);
// Path to our ttf font file
$font_file = './arial.ttf';
// Draw the text 'PHP Manual' using font size 13
imagefttext($im, 13, 0, 105, 55, $black, $font_file, 'PHP Manual');
// Output image to the browser
header('Content-Type: image/png');
imagepng($im);
imagedestroy($im);
?>
Now, instead of overlaying an image to the base image, I need to input text in its place.
1. Need to know the html for the input and submit buttons so that it links with the php script
2. Need to place the input text over the image, merge it, and output it to a new tab on the browser so they can download it.
I, unfortunately, do not know the script on this...I understand the theory, though, and Im learning really fast as I go.
Any help will be appreciated and full source will be posted for this application with a detailed tutorial when I get this up and running. We are a community, after all
Thanks a million so far, Im submitting this now but im still doing research. Any help would be most welome!
-FlannelBeard