|
I currently test in the script on the inhouse server so it's not available onnet yet. but if i look at the bulkupload where it process the optional thumbnail: is the $dst_file = handleupload( "data", $i ); a correct statement?
if ( is_multimedia($imgname) ) {
$realname = "";
if ( $theimage[$i] != "" ) {
$dst_file = handleupload( "data", $i );
pause(10);
create_thumb( $realname, $dst_file, $category, $imgname );
unlink( $dst_file );
}
$photoid = process_image( $imgname, $filepath, $category, 1 );
}
elseif ( is_image( $imgname ) ) {
// Open image, write out thumb, fullsize, and medium as needed
create_thumb( $imgname, $filepath, $category );
$photoid = process_image( $imgname, $filepath, $category );
}
else {
@unlink( $filepath );
}
|