Remove extension from image name