Fix error: images without extension