jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/374558 )
Change subject: UEModulePDF: Fix for image width in PDF
......................................................................
UEModulePDF: Fix for image width in PDF
700px is a little too wide for an image in PDF page
Change-Id: I04ebd18b23df629eda69d8e202c861cd236abd18
ERM: #7305
---
M UEModulePDF/includes/PDFFileResolver.php
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Robert Vogel: Looks good to me, approved
jenkins-bot: Verified
diff --git a/UEModulePDF/includes/PDFFileResolver.php
b/UEModulePDF/includes/PDFFileResolver.php
index cff18c1..55a13ac 100644
--- a/UEModulePDF/includes/PDFFileResolver.php
+++ b/UEModulePDF/includes/PDFFileResolver.php
@@ -117,8 +117,8 @@
$iWidth = $this->oFileObject->getWidth();
$this->oImgNode->setAttribute( 'width', $iWidth );
}
- if( $iWidth > 700 ) {
- $this->oImgNode->setAttribute( 'width', 700 );
+ if( $iWidth > 650 ) {
+ $this->oImgNode->setAttribute( 'width', 650 );
$this->oImgNode->removeAttribute( 'height' );
$sClasses = $this->oImgNode->getAttribute( 'class' );
--
To view, visit https://gerrit.wikimedia.org/r/374558
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I04ebd18b23df629eda69d8e202c861cd236abd18
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: REL1_27
Gerrit-Owner: Robert Vogel <[email protected]>
Gerrit-Reviewer: ItSpiderman <[email protected]>
Gerrit-Reviewer: Robert Vogel <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits