*/
function createFrom($file, $filename=false)
{
+ print_r('createfrom');exit;
// copy the file into the storage area..
if (!file_exists($file) || !filesize($file)) {
return false;
function onUploadWithTbl($tbl, $fld)
{
+ print_r('onUploadWithTbl');
if ( $tbl->__table == 'Images') {
return; // not upload to self...
}
$size = implode(strpos($size,'c') > -1 ? 'c' : 'x', $sizear);
// print_r($size);
$fc = $this->toFileConvert();
- print_r($size);
- exit;
+// print_r($size);
+// exit;
$fc->convert($this->mimetype, $size);