|
|
 |
Re: FN-FORUM Javascript image editing
date posted 1st April 2002 11:21
On Mon, Apr 01, 2002 at 10:51:23AM +0100, Karl Bunyan wrote:
> It depends on where you want the image and what size it's going to be. If
> it's going to be the same size all the time then a gif image in a layer
> overlaid on top of the image would do it. If you want it to be flexible then
> I'd suggest trying a transparent gif inside a layer with the stylesheet
> border properties set to whatever width and colour you want rectangle to
> come out at. You'll need to set the layer's CSS width and height and the
> image's width and height properties explicitly to get it to work
> cross-browser.
Ok, now I get it. This is a superb idea.
I want this for the checkout page at Photobox (www.photobox.co.uk)
where the site can draw you a cropping rectangle on your thumbnails
to show you how they are going to look when printed. We currently do
this through the back-end, but half a dozen people each with 200 photos
in their shopping basket quickly uses up all of our server children -
we have long ago abandoned generating thumbnails and scaled images
on the fly for the same reason.
Many thanks for suggesting the above - and to the others who replied
with similar ideas.
|
 |
|