Actualmente está así:
Código:
Esa es la parte de las funciones :P<?php class bme_ImageUploader { function bme_ImageUploader($maxwidth, $maxheight, $max_filesize, $fieldname) { //config all values needed for image uploads $this->maxwidth = $maxwidth; $this->maxheight = $maxheight; $this->max_filesize = $max_filesize; $this->field = $_FILES[$fieldname]['name']; $this->field_type = $_FILES[$fieldname]['type']; $this->field_temp = $_FILES[$fieldname]['tmp_name']; $this->field_size = $_FILES[$fieldname]['size']; $this->max_filesize_kb = ($this->max_filesize / 1024); $this->types_array = array('image/gif','image/pjpeg','image/bmp','image/jpeg','image/jpg','image/x-png','image/png');
He probado de todo pero no consigo cambiarle el tamaño a 5 MB, probé con _file_convert_to_mb y cambiando el 1024 por 5 pero nada, error, y como esa muchas formas más.
Alguien tiene solution?