|
Posted by Danny Boy on 11/27/06 19:21
Geoff Berrow wrote:
> 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>
How on earth would you think something like that. :-)
No, seriously: It's not only to know that, which helps a lot. It's also
to get a general grip of what's going on and a huge dash of my
omnipresent curiosity.
>
>>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.
I am sorry I used the word "frame". But as it's a concept that existed
shortly before the birth of the Internet, I thought it might still mean
something else than html frames occasionally. :-)
I meant images of the kind of frames you use around e.g. paintings. Like
these: http://www.museum-replicas.com/Frames.asp
>
> 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.
>
Thanks Geoff.
Navigation:
[Reply to this message]
|