Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 14681 | Rev 14683 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 14681 Rev 14682
Línea 486... Línea 486...
486
                } else {
486
                } else {
487
                    $resized_height = $target_height;
487
                    $resized_height = $target_height;
488
                    $resized_width = $source_width * $height_ratio;
488
                    $resized_width = $source_width * $height_ratio;
489
                }
489
                }
Línea 490... Línea 490...
490
                
490
                
491
                $resized_width = round($resized_width);
491
                $resized_width = int(round($resized_width), 10);
Línea 492... Línea 492...
492
                $resized_height = round($resized_height);
492
                $resized_height = int(round($resized_height), 10);
493
                
493
                
Línea 494... Línea 494...
494
                $offset_width = round(($target_width - $resized_width) / 2);
494
                $offset_width = int(round(($target_width - $resized_width) / 2), 10);
495
                $offset_height = round(($target_height - $resized_height) / 2);
495
                $offset_height = int(round(($target_height - $resized_height) / 2), 10);
496
                
496