diff --git a/main/document/showinframes.php b/main/document/showinframes.php
index 31093e1ef8..fe299836ba 100755
--- a/main/document/showinframes.php
+++ b/main/document/showinframes.php
@@ -263,12 +263,17 @@ $file_url_web = $file_url.'?'.api_get_cidreq();
if ($show_web_odf) {
echo '
';
$browser = api_get_navigator();
- $pdfUrl = api_get_path(WEB_LIBRARY_PATH).'javascript/ViewerJS/index.html#'.$file_url;
+ $pdfUrl = api_get_path(WEB_LIBRARY_PATH).'javascript/ViewerJS/index.html?zoom=page-width#'.$file_url;
if ($browser['name'] == 'Mozilla' && preg_match('|.*\.pdf|i', $header_file)) {
$pdfUrl = $file_url;
}
echo '
';
- echo '';
echo '
';