forked from MapComplete/MapComplete
		
	Load nearby image and image:* images from server for the nearby images
This commit is contained in:
		
							parent
							
								
									9a4572cdfa
								
							
						
					
					
						commit
						caa2e18a03
					
				
					 10 changed files with 206 additions and 72 deletions
				
			
		| 
						 | 
				
			
			@ -8,6 +8,7 @@ import { ImageUploader } from "./ImageUploader"
 | 
			
		|||
export class Imgur extends ImageProvider implements ImageUploader {
 | 
			
		||||
    public static readonly defaultValuePrefix = ["https://i.imgur.com"]
 | 
			
		||||
    public static readonly singleton = new Imgur()
 | 
			
		||||
    public readonly name = "Imgur"
 | 
			
		||||
    public readonly defaultKeyPrefixes: string[] = ["image"]
 | 
			
		||||
    public readonly maxFileSizeInMegabytes = 10
 | 
			
		||||
    public static readonly apiUrl = "https://api.imgur.com/3/image"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue