![]() |
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 18208 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 17070 views, 13994 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 10412 views, 10684 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 5939 views, 5012 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 5007 views, 4672 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 6665 views, 4865 downloads test.cropcanvas.php796b in size
last modified Jun 26, 2006 at 2:05am 11519 views, 10856 downloads test.cropinterface.php1.33kb in size
last modified Nov 29, 2006 at 6:35am 8290 views, 9767 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 9677 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 6774 views, 9578 downloads |