Add getImageBase64String method to plugin