adding support for filepicker specific integration to handle unknown width/height of image