![]() |
Script and site usage:
All of the scripts on this site are provided free for non-commercial, personal or non-profit use. If you wish to use any of these in a commercial system, please refer to the payment plan. Support: Support for each of the scripts is given, free of charge, on the message board. Each script has its own message board which can be accessed by clicking on the 'project forum' link (beneath the description of each project). |
|
Crop CanvasThis class allows you to crop an image in a variety of ways. You can crop in an absolute or relative way (to a certain size or by a certain size), both as a pixel number or a percentage. Or you can automatically crop based on a threshold limit.
Along with this class comes a web-based interface that you can use the drag and easily resize the area you'd like to crop, set various initial cropping sizes (such as 16:9 porportion, or 200x100 pixels), and more. cropcanvas.zipA zip file containing all the required files for the crop canvas class and interface to give you a quick and easy download option.
24.5kb in size
last modified Nov 29, 2006 at 6:38am 18159 downloads class.cropcanvas.phpThis is the main class file for the core cropping features.
If you use the crop interface then you will need this to process the image and for a number of variables/constants defined in this file.
18.06kb in size
last modified Jun 26, 2006 at 2:05am 16988 views, 13938 downloads class.cropinterface.phpAn extension to the crop canvas class which provides an interactive cropping area for an image. Very easy to use and implement.
16.46kb in size
last modified Nov 29, 2006 at 6:35am 10320 views, 10628 downloads inc.cropinterface.phpPart of the crop interface class, this required file provides the actual HTML and Javascript for the interface itself.
The interface is based on div tags and CSS for complete flexability.
8.21kb in size
last modified Nov 29, 2006 at 6:35am 5846 views, 4957 downloads inc.cropjavascript.phpPart of the crop interface class, this required file provides the initiation of the javascript elements and must be called at the end of your HTML, just before the closing body tag.
1.34kb in size
last modified Nov 29, 2006 at 6:35am 4917 views, 4616 downloads inc.cropimage.phpPart of the crop interface class, this required file provides a gateway to create a dynamically resized image.
713b in size
last modified Nov 29, 2006 at 6:35am 6581 views, 4814 downloads test.cropcanvas.php796b in size
last modified Jun 26, 2006 at 2:05am 11429 views, 10800 downloads test.cropinterface.php1.33kb in size
last modified Nov 29, 2006 at 6:35am 8205 views, 9715 downloads wz_dragdrop.jsThe drag & drop javascript behind the cropping interface. This code is created by Walter Zorn (http://www.walterzorn.com/dragdrop/dragdrop_e.htm).
38.45kb in size
last modified May 4, 2006 at 2:41pm 9628 downloads transparentpixel.gifProvided as part of the wz_dragdrop.js library to provide backwards compatability for older browsers.
43b in size
last modified Jan 14, 2006 at 12:47pm 6716 views, 9536 downloads |