---
title: "file.showImageEditor(Number,Number) Method  HTML5/Flash Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/FH_M_J_$au_file_showImageEditor_2_3705d439.htm
product: "Upload Suite 8"
---

# file.showImageEditor(Number,Number) Method HTML5/Flash Uploader JavaScript

Supported technologies: ![Adobe Flash](https://www.aurigma.com/docs/us8/icons/flash.png)![HTML 5](https://www.aurigma.com/docs/us8/icons/html5.png)
 
Opens a file in the built-in image editor.

## Syntax
 
```
$au.imageUploaderFlash('uploaderID').files().get(index).showImageEditor();
```

## Remarks
 
If no coordinates specified, the uploader will appear in the center of the uploader interface. Specifying custom coordinates of the dialog is useful when you hide the standard interface and want to control where it appears.
 
For example, assume that you want to display it in a `div` with `id` equal to `my-elem`. You can calculate it as follows:
 ```
var uploader = $au.imageUploaderFlash("Uploader1");
var bounds = document.getElementById("my-elem").getBoundingClientRect();
uploader.showImageEditor(bounds.width/2 + bounds.left, bounds.height/2 + bounds.top);
```
