private String replaceSpecialChar(String originalImagePath)
{
int indexAmp = originalImagePath.indexOf("&");
if (indexAmp > -1)
originalImagePath = originalImagePath.replaceAll("&", "%26");
int indexSpace = originalImagePath.indexOf(" ");
if (indexSpace > -1)
originalImagePath = originalImagePath.replaceAll(" ", "%20");
return originalImagePath;
}