Reply to Re: Watermarking with GD, but a bit different....

Your name:

Reply:


Posted by Geoff Berrow on 11/27/06 19:10

Message-ID: <4t0fr4F11g1p2U1@mid.individual.net> 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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация