Forum Moderators: coopster
Here's what I need:
I'm in the label business and want customer to be able to preview the label before buying. So, customer types in input boxes:
Name: John Doe
Address: 100 Your Street
CSZ: Anywhere, NY 10022
And then selects fonts for each line of text:
Font Line 1 - Helvetica Bold
Font Line 2 - Helvetica
Font Line 3 - Helvetica
Then when clicking a button, they view their label in an image that is created on the fly.
I am using OScommerce and would like to incorporate this into the ordering process. Can anyone help out?
Thanks much!
Steve
[ca.php.net...]
If you are looking at programming this yourself, then as moltar has pointed out, you are best off looking at the php manual.
However, if you are looking for a ready made script, you could check out hotscripts.com under the php/scripts_and_programs/images_manipulation tree. You will find an "image creation" category, and there are some good scripts there which will possibly help you. :)
Cheers,
wruk999
It takes quite some time for the server to perform these commands, and renders it slow, and in my case, often crashes it. You may be better off using the label image as a background of a table and putting the content as regular text in it.
If you want to use nice fonts, you're better off with imagemagick indeed.