String was incorrectly formed which was not outputting the correct resolved image path