Buenas..
Perdonar que el titulo no sea nada descriptivo, intentare explicarme ahora.
tengo un script que voy cogiendo el id desde mysql y luego la imagen desde una carpeta y la mando a otra despues de redimensionarlas y hacer varias copias..
{
if (file_exists($id.'_1.jpg')){
$handle = new upload($id.'_1.jpg', 'es_ES');
if ($handle->uploaded) {
$handle->file_new_name_body = $id.'_1';
$handle->image_convert = 'jpg';
$handle->jpeg_quality = 85;
$handle->file_overwrite = true;
$handle->image_resize = true;
$handle->image_ratio_crop = true;
$handle->image_x = 74;
$handle->image_y = 56;
$handle->process('thumbnails/');
}
}
al parecer funciona pefecto! pero cuando el recorset es muy grande al final acaba dando error, suele darme error cada 200 imagenes procesadas.. mas o menos
--- -
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
--- -
¿ALGUIEN SABE, si con class.upload, puedo tratar las imagenes de una CARPETA entera, y asi me ahorraria de hacerlo 1 por 1 usando mysql?
Gracias a todos