![]() |
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 2:38pm 17821 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 10:05am 16339 views, 13544 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 2:35pm 9535 views, 10208 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 2:35pm 5319 views, 4548 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 2:35pm 4407 views, 4199 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 2:35pm 6081 views, 4419 downloads test.cropcanvas.php796b in size
last modified Jun 26, 2006 at 10:05am 10877 views, 10381 downloads test.cropinterface.php1.33kb in size
last modified Nov 29, 2006 at 2:35pm 7594 views, 9267 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 10:41pm 9288 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 8:47pm 6310 views, 9224 downloads |