How to add site plans /floor plans , skew ,rotate images using ArcGIS javascript api..... and also save in database