mirror of
				https://github.com/qurator-spk/neat.git
				synced 2025-10-30 16:24:12 +01:00 
			
		
		
		
	use actual full image
This commit is contained in:
		
							parent
							
								
									c65b84bdc2
								
							
						
					
					
						commit
						3f8ab54933
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		
							
								
								
									
										4
									
								
								neat.js
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								neat.js
									
										
									
									
									
								
							|  | @ -182,6 +182,10 @@ function setupInterface(data, file, urls) { | ||||||
|         width = max_right - min_left; |         width = max_right - min_left; | ||||||
|         height = max_bottom - min_top; |         height = max_bottom - min_top; | ||||||
| 
 | 
 | ||||||
|  |         img_url = img_url.replace("left,top,width,height", "full") | ||||||
|  |         img_url = img_url.replace("left,right,top,bottom", "full") | ||||||
|  |         img_url = img_url.replace("left,top,right,bottom", "full") | ||||||
|  | 
 | ||||||
|         img_url = img_url.replace('left',  min_left.toString()); |         img_url = img_url.replace('left',  min_left.toString()); | ||||||
|         img_url = img_url.replace('right', max_right.toString()); |         img_url = img_url.replace('right', max_right.toString()); | ||||||
|         img_url = img_url.replace('top',   min_top.toString()); |         img_url = img_url.replace('top',   min_top.toString()); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue