Re: Watermarking with GD, but a bit different....
- From: Geoff Berrow <blthecat@xxxxxxxxxxx>
- Date: Mon, 27 Nov 2006 19:10:40 +0000
Message-ID: <4t0fr4F11g1p2U1@xxxxxxxxxxxxxxxxxx> from Danny Boy
contained the following:
I know nothing about php, but a great deal of html and CSS. I usually
hire php developers when I need one, but I want to have a basic
understanding of the possibilities, problems and the amount of work
involved.
Umm, you suspect your developer is ripping you off? <grin>
User select one color image from one directory, i.e. some artwork. He
then selects the frame he like to have the artwork in. All various
frames are also color images, but with a white canvas. When he clicks
"OK", the two images should merge so that the artwork shows inside the
frame.
Doing it with a merge is pretty easy, but can be a bit server intensive.
The best option is to save the merge once done. That way, if the same
parameters are requested by someone else, the image is already made.
Alternatively, for something like a frame you may be able to get away
with dynamically generated divs. See
http://www.walkingoutdoors.co.uk/Geoff/gallery/index.php for an example.
Code for the above is here
http://www.walkingoutdoors.co.uk/Geoff/gallery/gallery.zip
If I may add to the wish list, the script should also be able to
memorize both the id of the artwork and the frame to use e.g. when
returning to the URL later, or for input into a shopping cart where the
two parameters should be defined.
Easy. Just save it as a SESSION variable.
--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011
.
- Follow-Ups:
- Re: Watermarking with GD, but a bit different....
- From: Danny Boy
- Re: Watermarking with GD, but a bit different....
- References:
- Watermarking with GD, but a bit different....
- From: Danny Boy
- Watermarking with GD, but a bit different....
- Prev by Date: Re: Watermarking with GD, but a bit different....
- Next by Date: Re: Watermarking with GD, but a bit different....
- Previous by thread: Re: Watermarking with GD, but a bit different....
- Next by thread: Re: Watermarking with GD, but a bit different....
- Index(es):
Relevant Pages
|