This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
how_to:image_editor [2011/11/11 16:30] mrmut created |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Image Editor ====== | ||
- | GetSimple uses [[http://deepliquid.com/content/Jcrop.html|Jcrop]] as its image editor of choice. | ||
- | |||
- | ===== Tips'n tricks ===== | ||
- | |||
- | ==== CropBug ==== | ||
- | |||
- | GetSimple 3.0 has a bug with Jcrop: when cropping images larger than the image preview panel, the crop is erroneous. | ||
- | |||
- | That is fixed by adding line: | ||
- | |||
- | <code>trueSize: [<?php print("$imgwidth,$imgheight"); ?>],</code> | ||
- | |||
- | just below: | ||
- | |||
- | <code>var api = $.Jcrop('#cropbox',{</code> | ||
- | |||
- | in the file: image.php | ||
- | |||
- | ==== Customizing JCrop behavior ==== | ||
- | |||
- | In the file image.php, one can edit JCrop functions. | ||
- | |||
- | You can look up list of JCrop functions in the JCrop manual: http://deepliquid.com/content/Jcrop_Manual.html |