I Need This Script

Started on the old forum in August 2007 · view the original in the archive · old links redirect here

1 reply · 512 views · started 19 years ago · 1 min read

2 participants
SpiderWap Lead · 622 posts #1

I need a wap script

You get a list of images to choose from, you choose your image you want to use then enter text or your name then the text apears in the picture when you download the image

For example theres a pic of a car, then you for example enter your name and say preview/download then your name apears on the number plate.

I have no idea on how to code something like that thats why i'm asking for help.

Thanx in advance

blackhowk Senior · 411 posts #2
<?php header('content-type: image/jpeg'); $watermark = imagecreatefrompng('watermark.png'); $watermark_width = imagesx($watermark); $watermark_height = imagesy($watermark); $image = imagecreatetruecolor($watermark_width, $watermark_height); $image = imagecreatefromjpeg($_GET['src']); $size = getimagesize($_GET['src']); $dest_x = $size[0] - $watermark_width - 5; $dest_y = $size[1] - $watermark_height - 5; imagecopymerge($image, $watermark, $dest_x, $dest_y, 0, 0, $watermark_width, $watermark_height, 100); imagejpeg($image); imagedestroy($image); imagedestroy($watermark); ?>

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close