Class GraphicsUploader
				
				
			
				
				
				
					
Defined in:  sdk.js.
				
			
| Constructor Attributes | Constructor Name and Description | 
|---|---|
| Graphics upload dialog and shared repositry browser. | 
| Method Attributes | Method Name and Description | 
|---|---|
| <static> | GraphicsUploader.chooseMedia(id)
								 | 
| Query and display graphics. | |
| Open JQyery browser dialog. | |
| <static> | GraphicsUploader.openUploadDialog(form, title, showFile, showURL, showBrowse)
								 Open a media uploader dialog initialized with a form. | 
| Open JQyery upload dialog. | |
| Render JQyery browser dialog. | |
| Render JQyery upload dialog. | |
| <static> | GraphicsUploader.updateSearch()
								 | 
					Class Detail
				
				
				
						GraphicsUploader()
				
				
				
					Graphics upload dialog and shared repositry browser.
This provides a generic media upload dialog with many features:
				
				
				
				
					
					
					
					
					
					
					
			- Upload dialog UI
- Locally resize images before upload
- Upload from a web URL
- Upload a media file from a shared graphics repository
					Method Detail
				
				
					 
					<static> 
					
					
					GraphicsUploader.chooseMedia(id)
					
					
					- Parameters:
- id
					
					
					fetchMedia()
					
					
					
						Query and display graphics.
						
						
					
					
					
					
						
						
						
						
						
						
						
					
					
					
					openBrowser()
					
					
					
						Open JQyery browser dialog.
						
						
					
					
					
					
						
						
						
						
						
						
						
					<static> 
					
					
					GraphicsUploader.openUploadDialog(form, title, showFile, showURL, showBrowse)
					
					
					
						Open a media uploader dialog initialized with a form.
The dialog will use the form's action to upload media as 'file' for a file, or 'upload-url' for a URL.
The form should define an ID if to be used on multiple forms in the same document.
This can be used on the onclick on an input element to open the dialog i.e. 
This will create a hidden input of type file ('file'), and a hidden input of type text ('upload-url'), these will be passed to your server when the dialog submits the form.
						
						
					
					
					
					
						
							- Parameters:
- form
- title
- showFile
- showURL
- showBrowse
					
					
					openUploadDialog()
					
					
					
						Open JQyery upload dialog.
						
						
					
					
					
					
						
						
						
						
						
						
						
					
					
					
					renderBrowser()
					
					
					
						Render JQyery browser dialog.
						
						
					
					
					
					
						
						
						
						
						
						
						
					
					
					
					renderUploadDialog()
					
					
					
						Render JQyery upload dialog.
						
						
					
					
					
					
						
						
						
						
						
						
						
					<static> 
					
					
					GraphicsUploader.updateSearch()