source:
temp/trunk/html/test/kakinaka/resize_image.php
@
9092
| Revision 9092, 236 bytes checked in by kakinaka, 20 years ago (diff) | |
|---|---|
|
|
| Line | |
|---|---|
| 1 | <?php |
| 2 | |
| 3 | require_once("../../require.php"); |
| 4 | |
| 5 | $objView = new SC_UserView("./templates/"); |
| 6 | $objImage = new SC_Image(IMAGE_TEMP_DIR); |
| 7 | |
| 8 | |
| 9 | $file = IMAGE_TEMP_DIR . "kaki.jpg"; |
| 10 | $path = $objImage->saveResizeImage($file, 2); |
| 11 | |
| 12 | sfprintr($path); |
| 13 | |
| 14 | ?> |
Note: See TracBrowser
for help on using the repository browser.
