Removes images without extensions as it breaks some clients