Proyectos de Subversion LeadersLinked - Services

Rev

Rev 283 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 283 Rev 334
Línea 283... Línea 283...
283
            $unlink_source = true;
283
            $unlink_source = true;
Línea 284... Línea 284...
284
            
284
            
285
            $image = Image::getInstance($this->config);
285
            $image = Image::getInstance($this->config);
Línea 286... Línea 286...
286
            $target_path = $image->getStorage()->getPathUser();
286
            $target_path = $image->getStorage()->getPathUser();
Línea 287... Línea 287...
287
            
287
            
288
            if($image->uploadImageChangeSize($source, $target_path, $user->uuid, $target_filename, $target_width, $target_height, $crop_to_dimensions, $unlink_source)) {
288
            if($image->uploadProcessChangeSize($source, $target_path, $user->uuid, $target_filename, $target_width, $target_height, $crop_to_dimensions, $unlink_source)) {
289
 
289
 
290
                $user->image = $target_filename;
290
                $user->image = $target_filename;