fixed #30. Substring must be at the end of the image url