Image croping script.. ? Know of any

Discussion in 'JavaScript' started by ryse, Oct 18, 2006.

  1. #1
    Hey,

    Does anyone know of a good image croping script written in javascript?? Thanks
     
    ryse, Oct 18, 2006 IP
  2. seamus.hogan

    seamus.hogan Peon

    Messages:
    31
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Not really sure if javascript is the thing for you. your best bet would be something like ImageMagick which can be installed on a webserver.

    Failing that you could create a gif mask using transparancy and position it over the top.

    <STYLE type="text/css">
    .crop {
    position:absolute;
    top:0px;
    left:eek:px;
    }
    </STYLE>
    <body bgcolor="#000000">
    <div id="picture" class="picture">
    <img src="images/websites/1.jpg" />

    </div>
    <div id="crop" class="crop">
    <img src="images/websites/crop.gif" />
    </div>

    hope this helps

    Seamus
     
    seamus.hogan, Oct 20, 2006 IP