Providing an image resizer plugin for phonegap projects on both Android and iOS