Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 14682 Rev 14683
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 = int(round($resized_width), 10);
491
                $resized_width = intval(round($resized_width), 10);
Línea 492... Línea 492...
492
                $resized_height = int(round($resized_height), 10);
492
                $resized_height = intval(round($resized_height), 10);
493
                
493
                
Línea 494... Línea 494...
494
                $offset_width = int(round(($target_width - $resized_width) / 2), 10);
494
                $offset_width = intval(round(($target_width - $resized_width) / 2), 10);
495
                $offset_height = int(round(($target_height - $resized_height) / 2), 10);
495
                $offset_height = intval(round(($target_height - $resized_height) / 2), 10);
496
                
496