generate image urls with file extension