Hi,
I'm trying to use the aurigma image uploader (http://www.aurigma.com/
Products/ImageUploader/default.aspx) in my project but the vendor
doesn't render. No error's, just a blank screen.
When testing the script without CakePHP, the code works just fine:
<?php
require_once "ImageUploaderPHP/ImageUploader.class.php";
$imageUploader = new ImageUploader("ImageUploader1", 650, 400);
$imageUploader->render();
?>
In CakePHP
Controller:
<?php
App::import('Vendor', 'aurigma', array('file' =>'ImageUploaderPHP/
Main.php'));
class EventsController extends AppController {
....
function upload() {
}
}
?>
View (upload.ctp):
<?php
$imageUploader = new ImageUploader("ImageUploader1", 650, 400);
$imageUploader->render();
?>
Did I miss something? Probably it's something very obvious but I'm
still learning.
Thanks for your help!
More info about the aurigma classes:
http://www.aurigma.com/Support/DocViewer/28/HowtoEvaluateImageUploader.htm.aspx
--
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=.