mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-30 23:03:00 +00:00 
			
		
		
		
	Set image-minimizer to specify image width ...
Fix https://github.com/TeamNewPipe/NewPipe/issues/9469 for portrait like orientations
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/workflows/image-minimizer.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/image-minimizer.js
									
									
									
									
										vendored
									
									
								
							| @@ -86,7 +86,7 @@ module.exports = async ({github, context}) => { | ||||
|         if (shouldModify) { | ||||
|             wasMatchModified = true; | ||||
|             console.log(`Modifying match '${match}'`); | ||||
|             return `<img alt="${g1}" src="${g2}" height=${IMG_MAX_HEIGHT_PX} />`; | ||||
|             return `<img alt="${g1}" src="${g2}" width=${IMG_MAX_WIDTH_PX} />`; | ||||
|         } | ||||
|          | ||||
|         console.log(`Match '${match}' is ok/will not be modified`); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 yashpalgoyal1304
					yashpalgoyal1304