diff --git a/web/zm_html_view_event.php b/web/zm_html_view_event.php index 16519cf91..99843076e 100644 --- a/web/zm_html_view_event.php +++ b/web/zm_html_view_event.php @@ -79,8 +79,11 @@ if ( !isset( $rate ) ) $rate = reScale( RATE_SCALE, $event['DefaultRate'], ZM_WEB_DEFAULT_RATE ); if ( !isset( $scale ) ) $scale = reScale( SCALE_SCALE, $event['DefaultScale'], ZM_WEB_DEFAULT_SCALE ); +if ( $mode == "still" && $scale < SCALE_SCALE ) + $scale = SCALE_SCALE; -$frames_per_page = ZM_WEB_FRAMES_PER_LINE * ZM_WEB_FRAME_LINES; +$frames_per_line = reScale( ZM_WEB_FRAMES_PER_LINE, $scale ); +$frames_per_page = reScale( $frames_per_line * ZM_WEB_FRAME_LINES, $scale ); $paged = $event['Frames'] > $frames_per_page; @@ -145,6 +148,7 @@ var timeout_id = window.setTimeout( "window.location.replace( '= $PHP_SELF ?>?