fitting the image extension name with url code in equipment page